So I was working on my os today and added a new feature for menu sekection, and the weirdest bug happened when I started working on the games menu. I printed, then when I moved the cursor up, it started, I can't explain what happeden, but I really can't figure out how to fix it!
@Morphtroid
Okay, I'm trying to make a game of Solitare, however I'm not sure how to get the cards to deal. I've already thought of using the RND() command to assign the cards numbers and then deal that way, but I'm not sure what to do in the even that values will be the same. Help?
If you're making a game of solitaire you can't simply "choose the cards at random" just like that.
You need to remember that there are 4 suits with 13 cards each and maybe 2 jokers on a single deck.
You need to think a system so the game will make sure no single card is selected more than once.
Try to think something up. If you need more help, feel free to ask.
@Ramstrong: It is "harder and slower" compared to using mem
Have to post here again just to say I'm still waiting for this thing to be released in Europe. I really want to test your games and try to make my own but it seems like I have to wait forever.
I'm also trying to learn C++ as I noticed I have C++ course in my school schedule. Didn't even remember it before it started a couple of weeks ago
Now after two weeks I'm ahead everyone else and trying to make a simple text rpg whenever I have time. At the moment the game has three "monsters" (named after my friends) each with different HP and accuracy, a little leveling system which gives the player +5 HP whenever he defeats a monster and then there's of course options to attack or escape. It works great but now then I tried to add some new things and I have to fix it again to get it work correctly. I enjoy writing in C++ so now I'm sure I'll enjoy Petit Computer.
It's its, not it's.
Switch Friend Code: SW-8287-7444-2602 | Nintendo Network ID: LateXD
@neoxid500 : I did a 'if both EXNUM and SAFNUM is the same, force a reasigment GOTO' in my BOMB program (comming soon, as I can get to a full computer as opose to using my DSi). While you CAN do something more elabrate like that for your Solatair program, I would degently not do that. It would take up lots of lines of code, and no garentee of working. So, I second Morphad's remark. What you could do instead is set up a few data tables, and read them. Exactly how, thoe, is beyond my ability to program at this time.
I enjoy writing in C++ so now I'm sure I'll enjoy Petit Computer.
Word of warning - you'll likely find Petit Computer somewhat limiting in comparison to C++. It's not necessarily a bad thing - it will force a lot of creativity and novel solutions to problems - but you'll notice a difference, especially if you use object-oriented programming to any extent.
Having said that, the people on this forum are doing great things with Petit Computer, so it by no means implies that fun games can't be made.
I used to have a blog link here. I'll put it back up when the blog has something to read.
Word of warning - you'll likely find Petit Computer somewhat limiting in comparison to C++. It's not necessarily a bad thing - it will force a lot of creativity and novel solutions to problems - but you'll notice a difference, especially if you use object-oriented programming to any extent.
Having said that, the people on this forum are doing great things with Petit Computer, so it by no means implies that fun games can't be made.
I agree. Just look at Petit Farm. And the tons of fun Japanies programs like Luna City, Shooting Life, and TriStones.
While we are waiting for thoes awsome American (and other english speeking) games (cause it takes time, and Rome wasen't built in a day), we do have Petit Farm and a lot of willing programers in this and the fourm at GameFAQ.com. And the vareous Petit Computer Wikias.
Suddenly Discostew's idea makes great sense! Ever heard of tab-delimited format?
BTW, Discostew, you would use sophisticated algorithm on a simple problem. Parser and all. Writing program without a computer. You're a Software Engineer in real life, right?
Bachelors in Computer Science at the very least. I've actually done quite a bit with the DevkitPro homebrew toolkit for the GBA and DS prior to this.
Discostew
3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew
Not sure if this has been asked here yet, about to go to bed and don''t have time to search, sorry. I am creating a program that will have a button menu on the touch screen, I will be using GPAGE so I can have multiple menus, I was wondering if there is a way to create extra images on top of the ones I already have there, but make them invisible until the touch pen is touching its area. I am hoping this is possible instead of constantly erasing and redrawing things? I ask because I will have the code set to only respond to the touch of a button when the pen is finally removed from the touch screen (so the user can change his mind and possibly slide over to a non button before lifting the pen), I think changing buttons will be a nice touch, and actually required for some things that need to stay pressed for a time. I hope I have described the situation well, I sometimes have a hard time taking myself away from knowing what I am talking about to explain it to someone who doesn't.
@Shadow1364: That was actually a joke, I don't think anyone would like to play it that way considering it takes so long to draw everthing, but it is not completely impossible.
@Tiger: I'm almost sure you can't draw transparent things with petit computer (and everything drawn out of view is instantly erased too). But there should be a way to solve it... I don't know it, but there must be. Try looking for petit games online that use animated touch-buttons.
I final have an ideal for project 2. An improvment on my Bomb program. Then, prehaps a quick little game based on the ideal of "Lady & The Tiger"...pick a door, and try not to get ate.
For my first major game, I seteled on the name "Applecatch". But, how would I begin the 'apple drop from top of screen to the bottom of the screen'? Any ideals?
Forums
Topic: Petit Computer
Posts 751 to 770 of 9,620
Please login or sign up to reply to this topic