Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: March 28, 2024, 5:45 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anyone into Android programming?
#21
RE: Anyone into Android programming?
(June 28, 2015 at 9:19 am)bennyboy Wrote: Hi, emjay.

1)  I don't know much about using Unity in Linux, and I didn't see a Linux version.  Unity is not very demanding on CPU/GPU, so if you have Windows running on Wine, I'm pretty sure it will work well.
2)  Shaders are scripts which describe how a graphics card should process 3D graphical information: color, gloss, reflections etc.  Custom shaders are an advanced subject, but almost completely unneeded to do things in Unity, with the exception of animating color-- and THAT shader is trivially easy to write. . . you could even just copy mine.  For the most part, Unity will do all the graphical stuff-- you basically just have to import the images you want to use for tiles etc.
3)  When you start a new project in Unity, it asks whether you are making a 3D or 2D project, and sets the basic scene up for you.  Unity is a boss at doing tile games, card games, and things like that.  Unity also has a complete 2D physics system: collision, hinges, springs, collision detection, etc. etc. built in.

Here's a little overview of 2D design:



Woh, seeing that I'm sold! I really wanna do this now. And since it's free that's even better! I'll see if I can get it to work in Wine, though I don't hold out much hope because only a small percentage of Windows programs do, but if I can't I think I'm prepared to buy a Windows laptop just for it. To be honest I do miss Windows a bit because I can hardly get any of my old games working on Linux. Anyway the closest I've ever got to game development was using Amos and Blitz Basic on an Amiga when I was a teenager. They were both designed to make game development easier as well. I made a 2D platform game of Dr. Who, with Daleks because they were easy to animate. Seriously, I can't wait to do this - thanks to both of you for the info Smile Now you guys just carry on chatting and I'll dip in again when I've got something to show Wink
Reply
#22
RE: Anyone into Android programming?
Bennyboy,

I checked out marble runner; I liked the control scheme. It was easy to make quick adjustments to force and also fine adjustments that felt natural.
Reply
#23
RE: Anyone into Android programming?
(June 28, 2015 at 4:30 pm)Rhizomorph13 Wrote: Bennyboy,

   I checked out marble runner; I liked the control scheme. It was easy to make quick adjustments to force and also fine adjustments that felt natural.

Thanks, but tell that to my wife. She just can't get it. . . she's like swiping all over the place and tilting the phone upside down and stomping her feet, no matter how many times I tried to explain it. Tongue

Could you finish all the levels? So far only about 4 people have done them all, especially the last one.
Reply
#24
RE: Anyone into Android programming?
(June 28, 2015 at 12:22 pm)emjay Wrote: Woh, seeing that I'm sold! I really wanna do this now. And since it's free that's even better! I'll see if I can get it to work in Wine, though I don't hold out much hope because only a small percentage of Windows programs do, but if I can't I think I'm prepared to buy a Windows laptop just for it. To be honest I do miss Windows a bit because I can hardly get any of my old games working on Linux. Anyway the closest I've ever got to game development was using Amos and Blitz Basic on an Amiga when I was a teenager. They were both designed to make game development easier as well. I made a 2D platform game of Dr. Who, with Daleks because they were easy to animate. Seriously, I can't wait to do this - thanks to both of you for the info  Smile Now you guys just carry on chatting and I'll dip in again when I've got something to show  Wink
That's great! Note that I really do have shite laptops at work (like about $500 or less), and Unity really does work fine on them. Not sure, but think they are i3 or even Core Duo computers.
Reply
#25
RE: Anyone into Android programming?
(June 28, 2015 at 11:24 pm)bennyboy Wrote:
(June 28, 2015 at 12:22 pm)emjay Wrote: Woh, seeing that I'm sold! I really wanna do this now. And since it's free that's even better! I'll see if I can get it to work in Wine, though I don't hold out much hope because only a small percentage of Windows programs do, but if I can't I think I'm prepared to buy a Windows laptop just for it. To be honest I do miss Windows a bit because I can hardly get any of my old games working on Linux. Anyway the closest I've ever got to game development was using Amos and Blitz Basic on an Amiga when I was a teenager. They were both designed to make game development easier as well. I made a 2D platform game of Dr. Who, with Daleks because they were easy to animate. Seriously, I can't wait to do this - thanks to both of you for the info  Smile Now you guys just carry on chatting and I'll dip in again when I've got something to show  Wink
That's great!  Note that I really do have shite laptops at work (like about $500 or less), and Unity really does work fine on them.  Not sure, but think they are i3 or even Core Duo computers.

Just to let you know I got my new laptop, have Unity installed, and have started on the first tutorial. The whole thing looks incredible - I'm so glad you put me onto it because I think it will become an obsession Smile I think it's really gonna work for me because it looks like you can build up your projects iteratively and see the results as you go - much more so than you can with traditional programming - so less discouragement and more opportunity to use your imagination because it's almost like working backwards from the graphics to the code... almost like Minecraft for programmers. Smile
Reply
#26
RE: Anyone into Android programming?
(July 3, 2015 at 2:35 pm)emjay Wrote:
(June 28, 2015 at 11:24 pm)bennyboy Wrote: That's great!  Note that I really do have shite laptops at work (like about $500 or less), and Unity really does work fine on them.  Not sure, but think they are i3 or even Core Duo computers.

Just to let you know I got my new laptop, have Unity installed, and have started on the first tutorial. The whole thing looks incredible - I'm so glad you put me onto it because I think it will become an obsession Smile I think it's really gonna work for me because it looks like you can build up your projects iteratively and see the results as you go - much more so than you can with traditional programming - so less discouragement and more opportunity to use your imagination because it's almost like working backwards from the graphics to the code... almost like Minecraft for programmers.  Smile

I'm glad you like it. Smile

Yeah, you could complete an entire game with nothing but one-liner code bits (move here, change that text, go to the next level, etc.): pretty much you just have to tell your game what to do when colliders crash: play a sound, increase a counter, restart the level, whatever.

If you look at my little mini-game there, it was about 10% C# scripting and 90% learning how the "Animation" control works.
Reply
#27
RE: Anyone into Android programming?
(July 3, 2015 at 6:54 pm)bennyboy Wrote:
(July 3, 2015 at 2:35 pm)emjay Wrote: Just to let you know I got my new laptop, have Unity installed, and have started on the first tutorial. The whole thing looks incredible - I'm so glad you put me onto it because I think it will become an obsession Smile I think it's really gonna work for me because it looks like you can build up your projects iteratively and see the results as you go - much more so than you can with traditional programming - so less discouragement and more opportunity to use your imagination because it's almost like working backwards from the graphics to the code... almost like Minecraft for programmers.  Smile

I'm glad you like it. Smile

Yeah, you could complete an entire game with nothing but one-liner code bits (move here, change that text, go to the next level, etc.): pretty much you just have to tell your game what to do when colliders crash: play a sound, increase a counter, restart the level, whatever.

If you look at my little mini-game there, it was about 10% C# scripting and 90% learning how the "Animation" control works.

I'm quite looking forward to it for another reason as well... there's only two languages available for writing the scripts, C# and JavaScript, and I don't have much experience with either, so now's a chance to learn Smile I can't foresee much problem though in that department because, as you say, there's not much code, and the editor provided with Unity is very helpful.

I've got as far as moving the ball in the Roll a Ball project but I can already think of loads of games I could make based on balls, Snooker being the most obvious one and one that might even be possible based solely on whatever I learn in the rest of this project. Can't wait Wink

Your little mini-game was really cool I have to say. It reminded me of Super Monkey Ball but with the innovation of these pipes that the ball could go through... that was pretty cool too, reminded me of Sonic. What was that face that it showed between every level, was that you?

Anyway I'm really happy with the new laptop I got for this. I specifically looked for one with Windows 7 rather than 8 and was lucky to find one brand new with Windows 7 Pro, a full copy of MS Office, 4gb of RAM, and a quad-core AMD processor, all for £330. Runs like a dream and I'm very happy with it Smile
Reply
#28
RE: Anyone into Android programming?
C# is most commonly used for Windows programming. You can download free versions of Visual Studio from Microsoft and there are a million tutorials on C# online. Same with Java.

Yeah, that face was me. I just put it in there to prove to my students that I really made the game-- otherwise they would have thought I was just pulling their legs.

I'm glad about your laptop. Sounds like a great deal. Smile
Reply
#29
RE: Anyone into Android programming?
(July 4, 2015 at 5:37 pm)bennyboy Wrote: C# is most commonly used for Windows programming.  You can download free versions of Visual Studio from Microsoft and there are a million tutorials on C# online.  Same with Java.

Yeah, that face was me.  I just put it in there to prove to my students that I really made the game-- otherwise they would have thought I was just pulling their legs.

I'm glad about your laptop.  Sounds like a great deal. Smile

That's okay Benny, I've got the gist of C#, just missing a few syntax elements Smile I had Visual Studio before when I had Windows before, and had a play around with C# then but mainly used VB. I might get Visual Studio again at some point but I don't think there is any desperate need.

I've finished the Roll a Ball project now and built it for Windows. I tried building it for Android just to see the process but it needs the Android SDK installed, which I wasn't sure I'd need, but glad I know. I know it probably wouldn't work as a game because the control method is different on a phone than a PC, but I did want to see how easy it was just to create an installable apk. It raises the the question of how they manage to keep the two in sync - I mean Android changes roughly every six months with new features added so I haven't got a clue how unity can implement the game in android and take advantage of all the latest features, if it does?

So is Unity widely taught in schools/colleges these days? I didn't quite realise until I saw the software and its site how professional and well supported it was. It's site says it's partners include Microsoft, Sony, Samsung, and Nintendo; I never realised it had such strong backing. But as usual I guess I'm jumping on the bandwagon very late and it's probably been around for years and built up a solid following?
Reply
#30
RE: Anyone into Android programming?
I don't know about a solid following, but I know that Microsoft had XNA, which worked for Windows and XBOX, but they just couldn't keep up with support for it, so they discontinued support and supported Unity instead.

I don't think Unity DOES really support all new phone features, but I'm not complaining-- in a couple days, I can put together a little game, port it to my phone, and it works. That's better than anything else I've found.

Roll a Ball totally works on phone-- in fact the Marble game I showed IS Roll-A-Ball, basically with a couple animated tiles and added a touch control. If you ever want help with that, let me know.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Including Assembly into C++ FlatAssembler 14 1425 December 4, 2019 at 6:29 am
Last Post: FlatAssembler
  Why isn't Android more serious contender to Windows? Fake Messiah 8 862 June 20, 2019 at 6:21 am
Last Post: Fake Messiah
  Microsoft to dump it's computers into the sea. Succubus 26 3642 June 8, 2018 at 12:25 pm
Last Post: The Grand Nudger
  Question about Android rado84 17 1887 August 24, 2017 at 1:24 am
Last Post: vorlon13
  Android bug fear in 900 million phones account_inactive 0 598 August 8, 2016 at 6:31 am
Last Post: account_inactive
  Music caching for Android RozKek 13 2233 May 10, 2016 at 2:19 pm
Last Post: RozKek
  Here's a simple programming problem for you to solve ErGingerbreadMandude 44 4850 April 28, 2016 at 10:02 am
Last Post: ErGingerbreadMandude
  rooted my android to install modded spotify Marsellus Wallace 11 2462 April 10, 2016 at 8:45 pm
Last Post: bennyboy
  Programming Language Swift Poll Shining_Finger 24 4162 December 2, 2015 at 7:21 pm
Last Post: bennyboy
  Programming Question Shining_Finger 8 1359 December 2, 2015 at 5:30 pm
Last Post: Tiberius



Users browsing this thread: 1 Guest(s)