Results 1 to 10 of 10

Thread: Platform game

  1. #1
    Sverige is offline Member
    Join Date
    May 2014
    Posts
    3
    Rep Power
    0

    Default Platform game

    Hey guys. I'm pretty new to programming and I've been trying to learn the basics of creating games. I found a game that was already created, but as I wanted to add new things I got stuck, there are certain things I could not find or figure out. It would mean the world to me if you could add those to my game so that I can try to look what you did change and try to learn from it.

    First thing, add another object that give me points when the character touches them? Like for example another coin which gives off 50P.

    Second, make it so that when one level is finished, I move to the next level? Either by pressing a button or after a set amount of time and also create a new level.

    And lastly, add music. I want a small clip to play when a coin is picked up, a piece of music playing during the pre-game menu and music throughout the level.

    I'm sorry if this is something that is really easy to fix, but I've been searching for a while and trying to figure it out to no avail. Please add a rar file so that I can try to get in to the way of thinking.

    Here is the game: MyFirstGame

    Thanks in advance.

  2. #2
    Sverige is offline Member
    Join Date
    May 2014
    Posts
    3
    Rep Power
    0

    Default Android platform game

    Hey guys. I'm pretty new to programming and I've been trying to learn the basics of creating games. I found a game that was already created, but as I wanted to add new things I got stuck, there are certain things I could not find or figure out. It would mean the world to me if you could add those to my game so that I can try to look what you did change and try to learn from it.

    First thing, add another object that give me points when the character touches them? Like for example another coin which gives off 50P.

    Second, make it so that when one level is finished, I move to the next level? Either by pressing a button or after a set amount of time and also create a new level.

    And lastly, add music. I want a small clip to play when a coin is picked up, a piece of music playing during the pre-game menu and music throughout the level.

    I'm sorry if this is something that is really easy to fix, but I've been searching for a while and trying to figure it out to no avail. Please add a rar file so that I can try to get in to the way of thinking.

    Here is the game: MyFirstGame

    Thanks in advance.

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default Re: Platform game

    Duplicate threads merged.

    Is this an Android question?
    If you don't understand my response, don't ignore it, ask a question.

  4. #4
    Sverige is offline Member
    Join Date
    May 2014
    Posts
    3
    Rep Power
    0

    Default Re: Platform game

    I'm new to java, trying to make a java game for android so did'nt know which thread to put it in.

  5. #5
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default Re: Platform game

    If its Android, I'll move it to the Android section.
    If you don't understand my response, don't ignore it, ask a question.

  6. #6
    Ogrelock is offline Member
    Join Date
    May 2014
    Posts
    1
    Rep Power
    0

    Default Re: Platform game

    I've also had some problems with this, relatively new to programming as well, and it would be nice to get some help.

  7. #7
    kneitzel is offline Senior Member
    Join Date
    Feb 2014
    Posts
    447
    Rep Power
    1

    Default Re: Platform game

    Hi,

    in a forum it is best to ask concrete questions. I doubt that you will find someone who downloads the game and modifies it for you.
    I doubt that you really learn software development that way. My suggestion would be to start with introductions so you get to the whole thing step by step.

    If you want to continue how you started, then my suggestion is that you show us what you changed and tell us the error you get or what is not working. Then we might help you.

    Also be aware that you should do one change only at a time. If you try to do to much at the same time, you will easily break to much so it is to hard to fix.

    With kind regards,

    Konrad

  8. #8
    Cg33k is offline Member
    Join Date
    Mar 2014
    Location
    Leb
    Posts
    9
    Rep Power
    0

    Default Re: Platform game

    LibGDX cross platform gaming engine (that includes Android/IOS/HTML5) start there...

  9. #9
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,365
    Rep Power
    6

    Default Re: Platform game

    Quote Originally Posted by Cg33k View Post
    LibGDX cross platform gaming engine (that includes Android/IOS/HTML5) start there...
    libGDX is not what people commonly understand to be an 'engine', its rather closer to a framework to do primarily 2D games with. It does have an active and helpful community though, so from that perspective it is a good suggestion for beginning game programmers.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  10. #10
    Cg33k is offline Member
    Join Date
    Mar 2014
    Location
    Leb
    Posts
    9
    Rep Power
    0

    Default Re: Platform game

    Quote Originally Posted by gimbal2 View Post
    libGDX is not what people commonly understand to be an 'engine', its rather closer to a framework to do primarily 2D games with. It does have an active and helpful community though, so from that perspective it is a good suggestion for beginning game programmers.
    Correct it's more of an LWJGL wrapping, very good one, it will make his life easier.
    What he's asking for (Music, changing levels etc.) can literaly be done in one line of code.

Similar Threads

  1. 2d platform game
    By damienrenner in forum Java 2D
    Replies: 5
    Last Post: 03-30-2012, 07:50 PM
  2. Plar: my Java Multiplayer Platform Game!
    By monocole in forum Reviews / Advertising
    Replies: 1
    Last Post: 02-06-2012, 02:58 PM
  3. Platform Game |Player Not Showing Up|
    By petur170 in forum New To Java
    Replies: 16
    Last Post: 06-28-2011, 06:16 PM
  4. add Android platform?
    By mysystem in forum NetBeans
    Replies: 0
    Last Post: 08-19-2009, 12:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •