epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 11:35:51 GMT -5
all i need help with now is the goal, i wanna get a grade after u hit the goal like in sonic generations, or unleashed i tried to think about how i should code it but i just cant figure...if u guys can at least point me to the right direction i would greatly appreciate it
|
|
|
Post by Marble (LS5) on Apr 12, 2012 15:11:49 GMT -5
Try setting up a system that reads .xml files and the text put in it. You will have to manually set times or score to do this. You could also try multiplying the score with time or rings to get a final score to judge from, or something like that.
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 15:27:46 GMT -5
ok ill try though i am new at blitz3d im not new at scripting
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 15:29:17 GMT -5
ok so with blitzbasic how can i set up a system to read xml and keep it also in the engine?
|
|
|
Post by Marble (LS5) on Apr 12, 2012 16:31:26 GMT -5
Definitely refer to Stage.bb setup for reading XML files. Using references is very helpful.
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 16:36:26 GMT -5
ok thanks bro
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 16:37:34 GMT -5
im trying to make my engine like bge or bsu and so far with the help of you guys its going perfect
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 16:40:42 GMT -5
so for the i guess ill say guis i should use an image?
|
|
|
Post by Th33z on Apr 12, 2012 16:43:14 GMT -5
im trying to make my engine like bge or bsu and so far with the help of you guys its going perfect That's great that you want to do something similar but as everyone here would say, don't try to copy. It's okay if you want to do something similar, but do it in your own way! Just wanted to say that
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 16:46:29 GMT -5
ok im down with that
|
|
|
Post by Th33z on Apr 12, 2012 16:50:29 GMT -5
and again, it's not bad that you are using these as inspiration, but try not to copy them too much or at all if you can help it.
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 16:52:16 GMT -5
ok
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 16:53:01 GMT -5
well i think i have the grading system down
|
|
|
Post by Th33z on Apr 12, 2012 16:54:20 GMT -5
I'd love to see a video of this grading system... I've never actually seen one that works or doesn't end up crashing your computer somehow...
|
|
epikhbk1
Full Member
Today's Friend is tomorrows foe.
Posts: 190
|
Post by epikhbk1 on Apr 12, 2012 16:57:32 GMT -5
can someone show me how to get my menu i coded into blitzsonic Graphics3D 800,600,0,2 SetBuffer BackBuffer() font=LoadFont("Arial",15) SetFont font
While result=0 result=MainMenu() ;put these options inside the menu loop, as these ;return 0 - continuing the mainmenu loop. If result=2 Then result=Options() If result=3 Then result=Credits() Wend If result=1 Then StartGame() ;if the result isn't 1, then it must be 4 - hence QUIT End
Function MainMenu() Cls Text 400,50,"My Menu",1,1 Rect 300,100,200,50,0 Text 400,125,"Start Game",1,1 Rect 300,200,200,50,0 Text 400,225,"Options",1,1 Rect 300,300,200,50,0 Text 400,325,"Credits",1,1 Rect 300,400,200,50,0 Text 400,425,"Quit",1,1 Flip result=0 While result=0 mx=MouseX():my=MouseY() If MouseHit(1) Then If RectsOverlap(300,100,200,50,mx,my,1,1) Then result = 1 If RectsOverlap(300,200,200,50,mx,my,1,1) Then result = 2 If RectsOverlap(300,300,200,50,mx,my,1,1) Then result = 3 If RectsOverlap(300,400,200,40,mx,my,1,1) Then result = 4 End If Wend Return result End Function
Function Options() Cls Text 400,300,"Options Screen! Any key to return to main menu",1,1 Flip WaitKey() Return 0 End Function
Function Credits() Cls Text 400,300,"Credits!!",1,1 Text 400,330,"Made by epikhbk1",1,1 Text 400,400,"Any key to return",1,1 Flip WaitKey() Return 0 End Function
Function StartGame() Cls Text 400,300,"AND you're away...",1,1 Text 400,400,"ESC to exit",1,1 Flip While Not KeyHit(1):Wend End End Function
|
|