Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 26 Jul 2012
Offline Last Active Apr 27 2013 05:20 PM

Topics I've Started

How to get my program to find a folder that could be anywhere on the computer?

07 January 2013 - 01:27 PM

Hi guys. I'm programming a level player in Blitz Plus, and it is coming along quite nicely. In fact, in the near future, I plan on releasing the file along with a level so that people can test my game. However, I don't know what I should do about the filepaths to many files that I need to load in on different computers. On my own computer, it is easy because I know exactly where the files are. I just have to tell the computer to look at the file in "C:\Users\Nick\Desktop\LEVELDATA" and so on. However, on other computers, I have no idea where the users could be saving my files. Therefore, I will need to find the location of all of the folders. I couldn't find any functions in Blitz Plus that would help me. The closest thing I could find was a CallDLL function. Would that help at all? My other option is just to save everything within the same directory, but I would rather not do that simply for the sake of neatness. Any ideas? Thanks smile.png

Can I do this by myself?

12 December 2012 - 12:41 AM

Hi, guys. I'm programming a level player for a fairly large project I am working on now. It is a 2D platformer, which I want to be about 5 hours long in the end. Right now, I am working on making some early level prototypes, and testing out a few simple mechanics. Once I finish the game, which I want to do in about a year, I want to sell it. I am 100% sure that I can program this game all the way through. However, the thing I am worried about is design. I'm a noob at game design, and even though I've read some articles on it, I'm really inexperienced(as in I've never done it before.) Do you guys think I could design a high quality game given my skills? If not, what should I do? Also, do you think its feasible to be able to make money off this, with this being my first game? I could really use some cash Posted Image And if so, where should I look/what should I do to sell it? I was thinking Steam. Thanks for the input in advance.

How to fix this glitch in my 2D platformer?

22 November 2012 - 03:49 PM

Hi, guys. I just recently finished a level editor for my 2D platformer. I am now working on a program that will actually play the levels that I have created. However, once I started making the camera system, I began to have problems. I want the camera to constantly keep the player in the center of the screen. The screen is 1280 pixels wide. I am trying to always keep the player's x value(represented by player\x#) at 640. So, optimally, the player will always stay at that position. As the player moves, cameraX will keep increasing, and we can scroll the map. I am programming in Blitz Plus. Here's my code for trying to keep the player at the center of the screen:

player\xCameraBoundingBox# = player\x# + 640
If player\xCameraBoundingBox# > 1280 ;if this box has passed the edge of the screen
cameraX = cameraX + (player\xCameraBoundingBox# - 1280) ;add it to camera x
player\x# = player\x# - (player\xCameraBoundingBox# - 1280)

However, this poses some problems. Sometimes when the player tries to make a jump, they will be "pushed" back and fall to their death. However, if I don't tell the game to keep the player at the center of the screen, the player will eventually be able to run off the screen, or they will be pressed against the edge of the screen and will not be able to see anything that is coming.

Do you guys have any ideas on how to fix this problem? Any ideas would be appreciated. Thanks.

Here's a link to an article that shows what kind of camera system I am trying to make. I am trying to make a platform-locked camera system.

Making a fast, efficient main game loop for a 2D platformer?

04 November 2012 - 08:29 PM

I have recently finished a level editor that I plan to use to create levels for a 2D platformer that I am working on. Now, I am working on a program that will actually play the levels and let the user play them. However, I intend to sell this game, so it will need to be fast, and run the same speed on all computers. For it to do this, the main game loop will need to be structured well. I understand I will need to use timers, especially for rendering the game, but what would be the best way to go about this? Also, does it matter what order I do the tasks in? For example, should I take their input before I draw them? When should I test if they are on solid ground? Also, I am programming in Blitz Plus, so pseudocode would be appreciated if possible. Thanks.

Can someone please explain moving on slopes in this article to me?

27 October 2012 - 07:03 PM

I just recently finished my tile map editor for my game. Now, I am beginning to program the actual game itself. To get the character movement to feel right, I decided to look up some articles and physics on great 2D platformers. But, I am beginning to become confused on this article. I am having trouble understanding anything past Slopes and Curves. Could you guys explain this to me in an easy to understand manner? Sorry if this is a stupid question Posted Image By the way, if it helps, I'm programming in Blitz Plus. Thanks.

Here's the article: http://info.sonicret...es#Introduction