Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

MY GAME

Name: Anonymous 2011-07-21 5:06

This is the menu screen code. What does [prog]/spoiler/[/prog] think?

;INITIATE ENGINE
LoadOptions()
ChangeResolution(optMenuRes,0)
SetBuffer BackBuffer()
AutoMidHandle True
EnableDirectInput True
MoveMouse rX#(800),rY#(600)
SeedRnd(MilliSecs())  

;LOADING PROCESS
;intro
Intro()
;load media
LoadImages()
LoadTextures()
LoadWeaponData()
;restore
slot=0
LoadUniverse()
LoadProgress(slot)
LoadChars(slot)
;rearrange characters
;ResetIncarnation()
;counter=0 : homer=1
;For char=1 To no_chars
 ;counter=counter+1
 ;If counter>12
  ;Repeat
   ;homer=homer+1
   ;If homer>20 Then homer=1
  ;Until areaInhabitable(homer)>0
  ;counter=0
 ;EndIf
 ;charHome(char)=homer
 ;charName$(char)=GenerateName$(char)
 ;charSpouse(char)=0
 ;charOffspring(char)=0
 ;charMother(char)=0
 ;charFather(char)=0
;Next


;SCREEN MANAGEMENT
SeedRnd(MilliSecs())
screen=1
Repeat
 ;load screen
 If screen>0
  LoadScreen(screen)
 EndIf
 ;get-out clause
 If KeyDown(56) And KeyDown(45) Then End
Until screen=0
End

;SCREEN ACCESS
Function LoadScreen(request)
 ;main menus
 If request=1 Then MainMenu()
 If request=2 Then Options()
 If request=3 Then RedefineKeys()
 If request=4 Then RedefineGamepad()
 If request=5 Then Credits()
 If request=6 Then Outro()
 ;setup menus
 If request=10 Then SelectPlaySlot()
 If request=11 Then SelectEditSlot()
 If request=12 Then SelectCharacter()
 If request=13 Then ConfirmUniverse()
 If request=14 Then SelectArea()
 If request=15 Then SelectScene()
 ;3D scenes
 If request=50 Then Gameplay()
 If request=51 Then Editor()
 If request=60 Then SpriteRender()
End Function

;DELIBERATE CRASH LOOPHOLE
Function LoopHole()
 LoopHole()
End Function

Name: Anonymous 2011-07-21 5:09

Who would care about menu code. The game engine might be interesting (probably not when you code like that).

And your indentation sucks, only 1 space? fuck you.

Also wtf language is that?

Name: Anonymous 2011-07-21 5:52



;DELIBERATE CRASH LOOPHOLE considered harmful

Name: Anonymous 2011-07-21 6:15

>>2
Also wtf language is that?
And whose retarded idea was it to capitalize keywords?

Name: Anonymous 2011-07-21 6:16

valid pseudo-code

Name: Anonymous 2011-07-21 6:24

>>4
And whose retarded idea was it to capitalize keywords?
U MENA VISUAL BASIC

Name: Anonymous 2011-07-21 11:08

Piss of with that shit you fucking dickhead,try a non unsurpassed langue nexttime

Name: Anonymous 2011-07-21 11:22

http://pastebin.com/34gs9nqY

here are the attack animations

Name: Anonymous 2011-07-21 11:24

>>8
mdickie is that you?

Name: Anonymous 2011-07-21 11:37

>>9
whose mdickie

Name: Anonymous 2011-07-21 11:38

>>8

PIG DISGUSTING!

Name: Anonymous 2011-07-21 12:07

>>11
thats not very helpful.

Name: Anonymous 2011-07-21 12:12

1. What language is that?

2. Please use tab instead of single-spaces.

3. Please comment your code, I don't want to know how everything works. If I'm interested I'll look at the function.

Name: Anonymous 2011-07-21 12:21

>>13
1 blitzbasic
2 you can process it to tabs using simple unix programs
3 I did comment, see:
>;LOADING PROCESS
>;intro
>;load media

Name: Anonymous 2011-07-21 12:52

>>13
fuck off. 2 space characters is the one true way

Name: Anonymous 2011-07-21 13:02

>>15
Fuck off, 4 space characters is the one true way. Python uses it and it has FIOC so it has to be true!

Name: Anonymous 2011-07-21 17:23

I think it's morally acceptable to enslave every person having a Facebook account.

Name: Anonymous 2011-07-21 17:53

>>17
Stop fooling yourself. It's the same thing.

Name: Anonymous 2011-07-21 18:33

I can't believe that someone actually spent this much time typing this "code" ... even if it's strictly for the purpose of trolling, this robbed someone of hours of his life and he'll never get them back

Name: Anonymous 2011-07-21 18:36

Can I get actual criticim and not 'lol its bad'?

Name: Anonymous 2011-07-21 18:40

>>20
Sorry, my bad. What about it?

Name: Anonymous 2011-07-21 18:44

>>20
LoadWeaponData()
This is very bad for instance. Why do you have to use weapons? You're going nowhere with this violence.

Name: Anonymous 2011-07-21 19:49

OK i will post more code if you want. what do you want to see?

Name: Anonymous 2011-07-21 20:08

>>23
go away

Name: Anonymous 2011-07-21 20:58

FV QUALITY!

Don't change these.
Name: Email:
Entire Thread Thread List