XNA Creators Club Online
Page 3 of 3 (66 items) < Previous 1 2 3
Sort Posts: Previous Next

Platformer Expanded

Last post 03/11/2009 6:00 AM by tonyxna. 65 replies.
  • 27/10/2009 3:23 AM In reply to

    Re: Platformer Expanded

    Thanks. That worked easily. I wanted to do something similar to this months ago. But the steps I took were to long and tedious. This was simple and easy. Thank you. =)
  • 27/10/2009 5:50 AM In reply to

    Re: Platformer Expanded

    LordKtulu:
    FiNaL Mirage:
    tonyxna:
    Do you also have a way to save the game where you left off, instead of relying on the "Level Jump". That'd be good for my game. :)


    EDIT: I tried implementing what I wrote and it didn't work at all (oops :P) so I went in to a little more depth on how to save/load the player's position.
    Saving/Loading the players position

    Heymirage that would be sweet as heck if youcould post your progress. i kinda actually gave up altogether i just lost interest in it, but hopefully with a little bumping thanks to you, i can get back to work on it. :)


    I used your level editor as a starting point for mine, I'll make a video and show some features of it. :D
  • 27/10/2009 7:37 AM In reply to

    Re: Platformer Expanded

    I've been working on a level editor to make things a little easier for our level designer. (Hopefully he enjoys is better then editing the text files) To see it in action you can go HERE.

    P.S. I'm not releasing it with the game, just a little tool to make things a little easier/faster for the level designer.
  • 27/10/2009 4:15 PM In reply to

    Re: Platformer Expanded

    Hey. I think I might have found a problem with the Level Loading method. It only loads the position for the first level. If I were to go to the second level and save it there, then quit the game, then reload the game, I would end of being on the first level from the position I saved on the second level.
  • 27/10/2009 4:16 PM In reply to

    Re: Platformer Expanded

    FiNaL Mirage:

    I've been working on a level editor to make things a little easier for our level designer. (Hopefully he enjoys is better then editing the text files) To see it in action you can go HERE.

    P.S. I'm not releasing it with the game, just a little tool to make things a little easier/faster for the level designer.
    The editor looks real nice. :)
  • 27/10/2009 8:22 PM In reply to

    Re: Platformer Expanded

    tonyxna:
    Hey. I think I might have found a problem with the Level Loading method. It only loads the position for the first level. If I were to go to the second level and save it there, then quit the game, then reload the game, I would end of being on the first level from the position I saved on the second level.


    You could save a variable that has the current level, and load the position based on the current level.
  • 01/11/2009 12:53 AM In reply to

    Re: Platformer Expanded

    Can someone explain exactly how to make the game run in high resolutions? Setting the highresolution bool to true doesn't seem to do anything - the game still displays in zune resolutions. I tried deleting all of the references to zune but that just totally screwed up the entire game...

    I know the question has been asked before, but I just started this yesterday so I'd really appreciate some clarification.
  • 01/11/2009 6:29 PM In reply to

    Re: Platformer Expanded

    I just replaced every instance of 240 to 640 and every instance of 320 to 480 and yet the game still runs in zune resolutions.

    What do you mean by port the folder?


  • 01/11/2009 7:52 PM In reply to

    Re: Platformer Expanded

    Did you make the change in the Game1 class or in the platformer class?  I do not recall how his code is setup, but it should be getting the screen resolution from the GSMs game class.

    I am working on a full tutorial on how to combine the stock GSM and the platformer starter kit (with it getting the controlling player on the xbox as well), I have part of it done so I hope to post it next week on my site.
    Flash Cards for Kids - Two Button Game in playtest.
    GT/Twitter ="Talryyn" ~ Project 2 coming soon... TalryynGames
  • 01/11/2009 9:13 PM In reply to

    Re: Platformer Expanded

    I made changes everywhere. I still don't know what I'm doing so I just experiment > debug > see what happens.

    I noticed that in game properties.txt you can change the aspect ratio. Giving a value of 1 to 'highres' makes it zune-like, while every other value makes it look normal but glitched up. The graphics are very small and half of the screen is blue.

    GSM = Game State Manager? Would GSM's game class be PlatformerGame.cs?

    Thanks for the reply.

    I'll mess around with it some more to see what I can come up with but I'm not liking the results so far.
  • 02/11/2009 12:36 AM In reply to

    Re: Platformer Expanded

    I thought you would have to press "s" during the gameplay to activate the high resolution content.
  • 02/11/2009 1:26 AM In reply to

    Re: Platformer Expanded

    FiNaL Mirage:
    tonyxna:
    Hey. I think I might have found a problem with the Level Loading method. It only loads the position for the first level. If I were to go to the second level and save it there, then quit the game, then reload the game, I would end of being on the first level from the position I saved on the second level.


    You could save a variable that has the current level, and load the position based on the current level.
    How do we do that?
  • 02/11/2009 2:22 AM In reply to

    Re: Platformer Expanded

    tonyxna:
    I thought you would have to press "s" during the gameplay to activate the high resolution content.


    I don't think s does anything... except move down the ladder. But even if there was a button to press, I don't want the player to have to press a button to make it work properly. Also, the size of the sprites are fine. It's the window that is too small. What I'm seeing are giant sprites on a zune sized window or screen.

    Someone must have gotten this to work properly, right? We're not all developing only for Zunes, are we? If someone knows a solution, please post here. The OP said it had something to do with porting the folder back in and I don't know what that means...
  • 02/11/2009 2:32 AM In reply to

    Re: Platformer Expanded

    For: "bool menuInit = false;" at the top of PlatformerGame.cs in the fields section, replace false with true. Then the screen may just show the logo and nothing else. Press "s" and they should take you to a point where the code shows how to switch from HighResolution to LowResolution. I hope this helps. If it doesn't, I'm sorry it didn't.
  • 02/11/2009 5:36 AM In reply to

    Re: Platformer Expanded

    I did that, and you're right, I just see the logo and nothing else. But pressing "s" still doesn't do anything. Am I supposed to be pressing it on the game window?

    I appreciate the help but I'm still as confused as ever.

    EDIT: nvm, problem solved
  • 03/11/2009 6:00 AM In reply to

    Re: Platformer Expanded

    brick bomb:
    I did that, and you're right, I just see the logo and nothing else. But pressing "s" still doesn't do anything. Am I supposed to be pressing it on the game window?

    EDIT: nvm, problem solved
    Cool. Glad to have helped. At least, I hope it's what you were looking for. :)
Page 3 of 3 (66 items) < Previous 1 2 3 Previous Next