123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|516|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Question of the Day -> Commands You Love

Wed, 04 Oct 2017, 05:01
Jayenkai

Commands You Love


What's your favourite command, and why?

I never used to think MOD had that much of a purpose, but over the past few years, I can't believe the amount of times it's proved invaluable.
Level generation, world wrapping and more. A whole lot of mod's, all over the place.

My absolute favourite command though, has to be DebugLog. As the sort of developer that shuns typical GUI-driven development, the simple art of popping values into the debugger is all I need to figure out exactly why my games are breaking.

-=-=-
''Load, Next List!''
Wed, 04 Oct 2017, 05:52
Dabz
TEST in locomotive basic... that set me on my little road to making little games.

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Wed, 04 Oct 2017, 09:09
Pakz
I can think of nothing build in, in languages I used that really stood out. But my own created a* I really liked a lot. The command "findpath" was really pleasing. I do know it is included as a command in several other languages.

I got a book about ai that had a good readable chapter on aStar and I was able to create it myself not long after reading that chapter. I must've typed in that algorithm more then 20 times from start to finish to memorise it. It takes me under 45 minutes to type in blitz basic.

I like "If" also
"rectsoverlap"is good also.
Wed, 04 Oct 2017, 11:15
Jayenkai
Yeah, it’s great seeing those map generators and things. I tend to make a lot of generators whilst doing AGameAWeek, but mine are blind random fumbles compared to the way that Pakz's stuff works.

-=-=-
''Load, Next List!''
Wed, 04 Oct 2017, 13:05
Pakz
@kuron : I used Blitz Basic since the Amiga days. My previous nick was "Nebula"

I would make more things but A lot of books are to dificult for me to understand. Maybe the writers do not understand a lot of things themselfs. I read a quote by Einstein recently stating something like that if you can not explain a six year old something then you do not understand it fully yourself.
Wed, 04 Oct 2017, 14:51
therevillsgames
Ah MOD, I use it for making sprites flash

Normal maths functions are cool such as SIN, TAN and COS.

But for pure ease in languages such as Blitz, the "Graphics" command is hard to look pass.
Thu, 05 Oct 2017, 08:08
cyangames
JMP

Because, y'know "JUMP, JUMP!!"

Ohhh but JSR is nice too... hmmmm

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Fri, 06 Oct 2017, 03:03
TomToad
LOAD"*",8,1
Fri, 06 Oct 2017, 03:30
GfK
I'm quite partial to Unity's Mathf class. It's where all the magic shit lives.