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

Posted : Wednesday, 04 October 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!''
Posted : Wednesday, 04 October 2017, 05:52
Dabz
TEST in locomotive basic... that set me on my little road to making little games.

Dabz

-=-=-
Windows 10 (64bit), AMD Phenom x3 710 2.6GHZ CPU, Asus M5A78L-M/USB3, 16GB RAM DDR3 1600MHZ, Gigabyte AMD Radeon HD 7950 (3072 GDDR5), 500W PSU, 500GB HDD
Posted : Wednesday, 04 October 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 of 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.
Posted : Wednesday, 04 October 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!''
Posted : Wednesday, 04 October 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.
Posted : Wednesday, 04 October 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.
Posted : Thursday, 05 October 2017, 08:08
rychan
JMP

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

Ohhh but JSR is nice too... hmmmm

-=-=-
Web / Game Dev, occasionally finishes off coding games also!

Refresh Games - Game Dev Blog
Posted : Friday, 06 October 2017, 03:03
TomToad
LOAD"*",8,1
Posted : Friday, 06 October 2017, 03:30
GfK
I'm quite partial to Unity's Mathf class. It's where all the magic shit lives.