プレイ日記
Chickens32 Chickens32
Could someone give me some programming help? I'm a noob and I need help with making a title screen design. how do i do it!?
1そうだね
プレイ済み
返信[1]
親投稿
Clayton DarkClay88
Locate 20,10 ? "TITLE SCREEN" Locate 21,12 ? "Press A to begin" BGMPLAY 5 @LOOP IF BUTTON() AND #A THEN GOTO @GAME GOTO @LOOP Just a simple way to do it.
0そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian
Attached is my take on a generic title screen. You would probably want a picture in back instead of just a flat color. You would want to do something with the bottom screen too. Just add your game code in between the title screen call and the title screen function declaration. I hope that helps.
0そうだね
プレイ済み
返信[3]
親投稿
Darkcon SGMXZYDarkcon354
hello, now they say about using images and they are right. It can make static or animation title screens using just an image or both image and sprites.
0そうだね
プレイ済み
返信[4]
親投稿
Darkcon SGMXZYDarkcon354
the image on the I post is animation background for my tittle screen it a static image but the black box you see is transparent your see why in next post, it be set to foreground when it loaded, ill tell you why in next post.
0そうだね
プレイ済み
返信[5]
親投稿
Darkcon SGMXZYDarkcon354
ok now before i said it loaded in foreground because i what to use sprite in background of the image on sprite sheet created characters and object to use for wall lamps ect monsters, now i doing it to give the effect of kittens run through a corridor and chasing monsters, ect.
0そうだね
プレイ済み
返信[6]
親投稿
Darkcon SGMXZYDarkcon354
now a title screen menu system is like roads in a game start. let say like home the start point you want to goto store or mall or friends house. you can go about it different ways, touch or button control. you can draw it on paper and make a flowchart of how your menu system will work.
1そうだね
プレイ済み
返信[7]
親投稿
Darkcon SGMXZYDarkcon354
now if it seem to hard and you not getting a handle on grasping to make your program, dont get discourage by it. It just means you got more to learn on how your write the code for your program. if you keep at it your get better and remember you never stop learning in life. now try to figure it out yourself before you ask for help you will find you learn more...
0そうだね
プレイ済み
返信[8]
親投稿
Darkcon SGMXZYDarkcon354
if you still have trouble and haven't figure it out then ask,that way you know you tried before you asked for help. So stay at it and good luck with you game!
0そうだね
プレイ済み
返信[9]
親投稿
Darkcon SGMXZYDarkcon354
oh i almost forgot look at how others made their programs and check out the sample game that came with smile basic you can learn faster by learning from them. and focus on making test programs at first and keep it simple so your get a better idea of how it will work and a better idea on how to structure your code for program.
0そうだね
プレイ済み
返信[10]
親投稿
Darkcon SGMXZYDarkcon354
and remember making a game hardwork for one person so it will take time to complete it. So take breaks from it at times so you don't burn yourself out on your project. and try to keep it small don't start with a big project at first....
0そうだね
プレイ済み
返信[11]
親投稿
Chickens32 Chickens32
Here's my title screen so far. How do I make a backround? I tried loading a map but it won't. HELP!
0そうだね
プレイ済み
返信[12]
親投稿
Clayton DarkClay88
Well, you can do all sorts of stuff for backgrounds, you could make a map, bgfill, use some sprites, and more. I think the best way to do it is to make a map.
0そうだね
プレイ済み
返信[13]
親投稿
Stewart segludian
I think I posted some map loading code a day or two ago, but if you just want to put a picture on the screen it may be easier to draw it in smile tools drawing program, then load it from file. Something like: DEF TITLESCREEN DIM X%, Y%, MSG$ LOAD "GRP0:SPACETITLE", 0, 0, FALSE GCOPY 0, 0, 0, 400, 240, 0, 0 MSG$ = "PRESS A BUTTON TO PLAY" X% = (49 - LEN(MSG$)) * 8 Y% = 20 GPUTCHR X%, Y%, MSG
0そうだね
プレイ済み
返信[14]
親投稿
Stewart segludian
REPEAT VSYNC UNTIL BUTTON(3) != 0 END ACLS TITLESCREEN 'ADD CODE FOR YOUR GAME HERE ACLS END I think I attached the background loading code. Just make sure to use scsave instead of save in smile tool if you prefer a tile map.
0そうだね
プレイ済み