DSiWare Forum

Topic: Petit Computer

Showing 881 to 900 of 9,519

AuthorMessage
Avatar

GrabSomeEyes

881. Posted:

I'm willing to say I'm basically done with Eos OS at this point.
I've barely coded anything into it since I released the first QR codes (note, I doubled the coding, but it didn't add much).
I think I'm just going to polish it up, send out 1.1 and be done with major updates whatsoever for now.
Unrelated, I started making a Risk clone. It'll probably take me a LONG time to figure out the actual coding but I think I've basically got the map down (though I lost all the detail to it last night...) I really like what I've done so far so I'll probably stick with it for a while.
Edit: @Sprite I'm so sorry...

Edited on by GrabSomeEyes

Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044

AuthorMessage
Avatar

steriaca

882. Posted:

@grabsomeeyes : Looking forward to your Risk homage.

My Friend Code is 3368-1310-0690.

AuthorMessage
Avatar

GrabSomeEyes

883. Posted:

steriaca wrote:

@grabsomeeyes : Looking forward to your Risk homage.

Thanks, it might be a while though, balancing it with school and all.
I just got Pokemon White II today so that'll overtake my life for a while.

Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044

AuthorMessage
Avatar

Sprite

884. Posted:

Sprite wrote:

Same thing happened to me fixed my L R BUT NOT CAMERAS

Don't be. The wait music was funny though. it played LoZ music
EDIT : I meant to type in quotes for GRABSOMEEYES

Edited on by Sprite

I'm not saying let's kill all the stupid people, I'm just saying let's take off the warning labels, and see what happens. Friend Code: 1075-1228-4183

AuthorMessage
Avatar

GrabSomeEyes

885. Posted:

Well. I like what I've done so far.
Kind of skeptical about whether or not I'll be able to figure out how to get the game to work though.
Maybe I should play Risk... I've never played it. That might help.
Edit: This post was originally meant to be an update on how the graphics are turning out. It's a map. It's static. Nothing really interesting. Lots of BGPUT. Yeah.
Edit:
Completion status: Background (map), title screen.
Now for the fun part. Coding in real game mechanics... yay.

Edited on by GrabSomeEyes

Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044

AuthorMessage
Avatar

portealmario

886. Posted:

Do you have any story suggestions for me? I am having a problem thinking of a story

meng ūüėź
3ds friend code:1762-2769-7142

AuthorMessage
Avatar

steriaca

887. Posted:

My Program Updates:

Lady & Tiger: Done and waiting for my next free day to create and put up QRs.

Heads Or Tailes: Much like Lady & Tiger, done. Might take longer to create QRs for.

Color Demo: Done. Pondering if I should QR it...might be useful to new programers.

Lady & Tiger + (name pending): An advance version of Lady & Tiger, with 2 Tigers, and ways to deal with them. Unwriten.

My Friend Code is 3368-1310-0690.

AuthorMessage
Avatar

GrabSomeEyes

888. Posted:

I'm having a little bit of trouble... with the title screen.
So, I want the "Press Start!" text to flash, as of right now it disappears each 2/3rds (WAIT 40) of a second after it reappears (also occurring at 2/3rds of a second), but that kind of interferes with my actual title screen controls, which are just:
@TITLECON
B=BUTTON()
IF (B AND 1024) GOTO @MENU
@TITLECON
(I have other coding and whatnot around and within this area, but that's all the coding I need for the controls, the WAIT commands coming before would slow the controls down and make them unresponsive if I implemented them in the control area, and the text won't flash if I don't put anything in the control area).
Anybody know a way around this? I'm thinking about just leaving it static to make it easier to code.

Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044

AuthorMessage
Avatar

KiwiFruit

889. Posted:

GrabSomeEyes wrote:

I'm having a little bit of trouble... with the title screen.
So, I want the "Press Start!" text to flash, as of right now it disappears each 2/3rds (WAIT 40) of a second after it reappears (also occurring at 2/3rds of a second), but that kind of interferes with my actual title screen controls, which are just:
@TITLECON
B=BUTTON()
IF (B AND 1024) GOTO @MENU
@TITLECON

You want to have a counter that count down from 60. And then a condition set, "if count<=40 then locate 8,11: print "press start". Then another to erase the press start. "if count>=41 then locate 8,11: print " ". Then reset the counter back to 60 if it reach 0, "if count<=0 then count=60". Then add count=count-1. All that goes in the loop. Oh, vsync 1 is require to keep at 60 fps. Without that in a loop, the game will be very fast. wait and vsync are similar to each other.
So this program should look more like.
count=60
@TITLECON
B=BUTTON()
IF (B AND 1024) GOTO @MENU
count=count-1
if count<=40 then locate 8,11: print "press start"
if count>=41 then locate 8,11: print " "
if count<=0 then count=60
vsync 1
@TITLECON

There's 100 character in one line so I like to pile command after the then. Like IF 3>0 THEN COUNT=COUNT-1: INVINCIBLITY=50: PRINT"YOU ARE INVINCIBLE!!!". The : allows you to type more command on that line.

Hopes that helps.

EDIT: I might have the > and < messed up. If it isn't work able, you can switch the > < signs/

Edited on by KiwiFruit

KiwiFruit

AuthorMessage
Avatar

petiSnail

890. Posted:

GrabSomeEyes wrote:

I'm having a little bit of trouble... with the title screen.
So, I want the "Press Start!" text to flash, as of right now it disappears each 2/3rds (WAIT 40) of a second after it reappears (also occurring at 2/3rds of a second), but that kind of interferes with my actual title screen controls, which are just:
@TITLECON
B=BUTTON()
IF (B AND 1024) GOTO @MENU
@TITLECON

@L
B=BUTTON()
IF (B AND 1024) GOTO @MENU

IF MAINCNTL%30<20 THEN ? "PRESS START"

VSYNC 1:CLS
GOTO @L
There you go. You can vary the '30' and '20' for different flash timing. Good luck with your project :)

Edited on by petiSnail

petiSnail

AuthorMessage
Avatar

GrabSomeEyes

891. Posted:

Alright, thanks a lot for your help guys!
I'll try them out in just a bit.
Edit: I tried each of them, @KiwiFruit I think I understood yours better but I couldn't get it to work exactly like I wanted it to, probably my fault overall.
@petiSnail I ended up going with your method, with a little tinkering it was just like I wanted it to be.
Now I've got the menus down so I should be onto actual gameplay soon.

Edited on by GrabSomeEyes

Eos OS: http://conlogxl.forumotion.com/t12-eos-os-v10
3DS FC: 3695-0514-5044

AuthorMessage
Avatar

KiwiFruit

892. Posted:

I'm happy that his advice help you. I didn't know about the %(remainer) function yet and how to use it. I know about the MAINCNTL, which keeps track how many frames have elapsed. Happy programming!

KiwiFruit

AuthorMessage
Avatar

pHUNTERq

893. Posted:

Hey people, I just made an account to post here. After seeing all the cool things people have made, I decided I should stop stalking this thread and join in on the fun. So it's time for me to come out of the darkness and share what I made using this awesome tool :) I made a Zelda type game, it's nothing much really, more like a toy, but if you want to try it out, I'm going to post it in the QR thread.

3DS Friend Code: 2105-8964-7467

AuthorMessage
Avatar

petiSnail

894. Posted:

Couple of updates from SmileBoom:

1. SmileBoom has updated their official NA site with a Q&A. Its not much, but at least they're still alive and kicking ^^
http://www.petitcomputer.com/qanda/
2. Also, They have updated the Japanese version to 2.3 (bugfixes mainly). No word if we're getting it.
http://tinyurl.com/9juuhue

Edited on by petiSnail

petiSnail

AuthorMessage
Avatar

MushroomCooCoo

895. Posted:

I am starting to work on a game and my movement is good but for some reason not all of my animations work right. And does anyone know how to make it not play the loading noise? Please help!

My program is as follows:

CLS:CLEAR
LOAD"SPU1:MAIN",FALSE
SPSET 1,64,0,0,0,0
SPSCALE 1,160,1
A=68
@START
GOSUB @MOVE
GOSUB @ANIM
GOTO @START
@MOVE
BT=BUTTON()
IF (BT AND 1) THEN AY=AY-3:A=76
IF (BT AND 2) THEN AY=AY+3:A=68
IF (BT AND 4) THEN AX=AX-3:A=72
IF (BT AND 8) THEN AX=AX+3:A=64
IF (BT AND 5) THEN AY=AY-3:AX=AX-3:A=72
IF (BT AND 9) THEN AY=AY-3:AX=AX+3:A=64
IF (BT AND 6) THEN AY=AY+3:AX=AX-3:A=72
IF (BT AND 10) THEN AY=AY+3:AX=AX+3:A=64
IF (BT AND 0) THEN AY=AY+0:AX=AX+0
IF AX<8 THEN AX=8
IF AX>220 THEN AX=220
IF AY<8 THEN AY=8
IF AY>150 THEN AY=150
VSYNC 5
RETURN
@ANIM
SPCHR 1,A
SPANIM 1,4,5
SPOFS 1,AX,AY,20
VSYNC 5
RETURN

Thanks 8'D

MushroomCooCoo

AuthorMessage
Avatar

Discostew

896. Posted:

@MushroomCooCoo

Can you be a little more specific as to how your animations are not working right? SYSBEEP=FALSE can help you with that loading sound, but be sure to turn it back on afterwards.

"What fun is there in making sense?"
Lazer Light Studios - Home of the MM2 PTC project

Pokemon 3DS Friend Safari - Ice - Spheal, Sneasel, Lapras

3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew

AuthorMessage
Avatar

MushroomCooCoo

897. Posted:

@Discostew

For some reason my up, down and diagnal down left won't display while the rest work properly. I don't see any reason for these to not work though, am I missing something?

MushroomCooCoo

AuthorMessage
Avatar

Discostew

898. Posted:

Oh, I think I know what the problem might be. I've ran into it myself. When doing the comparison for the buttons, you need to understand one thing. IF statements only know TRUE or FALSE, with TRUE being a value other than 0, and FALSE being only 0. When doing comparison statements using AND, it will check only those bits that match, and return those bits, which form a value. If any of those bits are set, then the IF statement will consider the statement TRUE.

Take a look at "IF (BT AND 5) THEN.....". You made that to check if you are pressing up and left. However, 5 is equivalent to if it was the statement 1 OR 4, not necessarily 1+4. What this means is that if you press UP or LEFT (1 or 4), the statement becomes true, and the code is executed, even though that isn't what you want. To fix this, simply add after the parenthesis "==5" to form "IF (BT AND 5)==5 THEN...". It will then check if the value is exactly if you pressed UP and LEFT, instead of UP or LEFT. If you do this will all of your button comparisons, it will prevent doing multiple stuff (like if you are pressing UP and LEFT, it won't also execute the code relates to if you only pressed UP since UP is part of the pressed buttons that form the UP/LEFT diagonal).

And just for the sake of convenience, you don't need the comparison at the end where IF (BT AND 0), because in either case, it does nothing.

"What fun is there in making sense?"
Lazer Light Studios - Home of the MM2 PTC project

Pokemon 3DS Friend Safari - Ice - Spheal, Sneasel, Lapras

3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew

AuthorMessage
Avatar

MushroomCooCoo

899. Posted:

@Discostew

Thanks! It worked great!

MushroomCooCoo

AuthorMessage
Avatar

bloodofgore

900. Posted:

This is a nooby question, but how do I set the variables for data? Another question, I'm creating a puzzle game using text graphic, how do I make something appear, and stay there without being erased? Is there something else I need to use to set sprites other than PRINT? Just a bit confuzzled.

bloodofgore