Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / [STICKY] The Posting Competition

Author
Message
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 16th Feb 2013 10:14 Edited at: 16th Feb 2013 10:15
@MissJoJo
Quote: "Here's some cool functions that I use when I change screen's, call backout([backroundimgid]) then backin([imgig]) when You load the screens.

"


I assume that's AppGameKit with which I'm no familiar so correct me if I'm wrong but wouldn't this be better:


That way you don't make all those GET calls each iteration and this optimizes the code so it'll save precious resources, esp on the mobile platform.
Like I say, dunno about AppGameKit so maybe there's a reason to do it your way, but I just thought I'd put it out there in case it's of use.

"Quotes in signatures are just stupid, especially if you're quoting yourself" ~ me
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 16th Feb 2013 13:29
ppaaggee

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 16th Feb 2013 14:08
Book with several pages in it
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 16th Feb 2013 17:31 Edited at: 16th Feb 2013 17:32
Am awake![/u][u][i][/i][u][/u][u]

320x224
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 16th Feb 2013 18:35
monster mash

http://blankflankstudios.tumblr.com/
"You're all wrong. You're all idiots." - Fluffy Rabbit
"Bottom line, people are retarded." - Fluffy Rabbit
Randomness 128
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 16th Feb 2013 18:57
I need to find a reason to go to the corner of Cockshutt Rd and Woodley Rd. It's about an hour and a half away pffft.

320x224
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 16th Feb 2013 21:16
Anybody here know Javascript?


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 16th Feb 2013 21:19
Quote: "I need to find a reason to go to the corner of Cockshutt Rd and Woodley Rd. It's about an hour and a half away pffft."


Your estranged half-brother from one of your father's per-marital flings is in trouble with a drug cartel headed by a terrifying man named Carlito. You, and only you, can save him. But in order to do that you need to get in touch with ex-gangster-turned-preacher, Jerome, who preaches from the corner of Cockshutt Rd *giggle* (sorry, can't type that with a straight face) and Woodley Rd. Jerome, and only Jerome, knows Carlito's one and only weakness in a fight. Hurry, save your estranged half-brother!!!

Reason enough?

"Quotes in signatures are just stupid, especially if you're quoting yourself" ~ me
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 16th Feb 2013 21:21
Quote: "Anybody here know Javascript?"


A teeny-weeny bit because I'm learning webdev in HTML5.

I think we should start talking with signatures again!
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 16th Feb 2013 21:32 Edited at: 16th Feb 2013 21:39
Quote: "Anybody here know Javascript?"

I know a bit, but I'd probably have to relearn some of the more advanced concepts. Whatcha need?

Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 16th Feb 2013 21:36
I'm having a serious problem with understanding OOP using JS, I've posted to Stack Overflow so I'll link you instead of reposting here.

http://stackoverflow.com/questions/14914800/javascript-oop-error

It was going well up til now!


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 16th Feb 2013 21:41
In your method definitions, it looks like you're missing semi-colons at the end of them. Since it's essentially an assignment operation, try that and see if it works then.

Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 16th Feb 2013 21:44
Quote: "In your method definitions, it looks like you're missing semi-colons at the end of them. "


I wasn't aware a semicolon was needed, I'll add them now! However it seems my problem was in the setInterval function, I'd have never spotted it on my own.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 16th Feb 2013 21:47
Amahssing


thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 17th Feb 2013 02:51 Edited at: 17th Feb 2013 02:52
Hmm... Got a good day's work done I coded the beginning of a terrain module today. So far it can read from a heightmap, divide the heightmap into chunks (each chunk is a separate object) and apply the height to each vertex. I also got a detail map working, and the vertices are colored based on the texture file. I haven't gotten normals properly working, though.











Pretty proud of myself

Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 17th Feb 2013 03:05
JavaScript has a long way to go before it will be any good at making really good web applications or games. The lack of operator overloads is so annoying when working with vectors.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
Neuro Fuzzy
18
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 17th Feb 2013 06:58
Quote: "JavaScript has a long way to go before it will be any good at making really good web applications or games. The lack of operator overloads is so annoying when working with vectors.
"

xD Same w/ Java. And basic ;D

Special relativity is annoying. Partly because I'm only thinking about the problems half-intently. That's always bad.

Fluffy Rabbit
User Banned
Posted: 17th Feb 2013 15:58
So, I have the start of a game going. There's an old man on a tiny sailboat. He can move back and forth on the screen as well as jump. What should I turn the game into?
Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 17th Feb 2013 18:57
shark attack!

BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 17th Feb 2013 19:31 Edited at: 17th Feb 2013 19:53
Quote: "I'm having a serious problem with understanding OOP using JS, I've posted to Stack Overflow so I'll link you instead of reposting here."


I think your first problem is that your class 'molecule' is lower case, it should be: 'Molecule';

And secondly, for the reason already explained in the stack overflow post.

Also for another coding tip, I usually style my Javascript classes like this:


With this method, you can also do inheritance:


Its essentially the same way you've been doing it, but by creating an anonymous function using:

(function(){})();

you are making sure that all the methods enclosed within that function are executed (defined).

Cheers,
BiggAdd

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 17th Feb 2013 23:55
@nonZero
wow, can't believe I didn't think of that before
Yeah you're right though, that would definitely be a better way of doing it
it's AGK

There are 10 types of people, those who understand binary and those who don't
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 18th Feb 2013 00:59
Thanks a lot for the tips there BiggAdd, they're very useful.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 18th Feb 2013 03:08
PB and J!!!

There are 10 types of people, those who understand binary and those who don't
Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 18th Feb 2013 03:34
Quote: "Find the logic. Yes, it is solvable. Kindergarten people know the answer within minutes, older people take many hours.

3765 = 1
8886 = 7
2832 = 2
8643 = 4
5555 = 0
0000 = 4
4445 = 3
----------
6811 = ?"

Well that made me feel stupid. Thanks TheComet!

Spoiler:


Web - Tweets
“I'm going to punch DXGI in the face. Repeatedly.” ~Aras Pranckevicius
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 18th Feb 2013 04:07
That's cool, I never would've gotten that

There are 10 types of people, those who understand binary and those who don't
Neuro Fuzzy
18
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 18th Feb 2013 09:21
iOS's programming language told me: "I'm a good programming language, but I could be better. I'm objective, see."

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 18th Feb 2013 21:51
How many people on this forum started coding with qb?

There are 10 types of people, those who understand binary and those who don't
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 18th Feb 2013 21:56
nope.avi

http://blankflankstudios.tumblr.com/
"You're all wrong. You're all idiots." - Fluffy Rabbit
"Bottom line, people are retarded." - Fluffy Rabbit
AutoBot
15
Years of Service
User Offline
Joined: 25th Sep 2009
Location: Everywhere
Posted: 19th Feb 2013 01:27
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 19th Feb 2013 02:59
I haven't!
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 19th Feb 2013 05:57
Quote: " This is a quote that doesn't exist"


There are 10 types of people, those who understand binary and those who don't
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 19th Feb 2013 07:39
What if I DON'T BELIEVE YOU WHEN YOU SAY THAT???

Food for thought!

Kitten walking pattern
nonZero
13
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 19th Feb 2013 08:48
@MissJoJo
Quote: "How many people on this forum started coding with qb?"


qb as in QBasic? Then yes, I did
Oh boy, I've been waiting for someone to ask...

I was 11 or so, maybe a few months before 11. I had an old 286 with DOS and I stubled onto it. There were no books on coding anywhere near me and, of course, my country didn't have much of an internet so only businesses and a few elite actually had access.
So I couldn't learn so I taught myself. By analysing Nibbles, Gorillas, Remline and the money manager (was it Money) .bas I gained the power to create a quizz game that used a do-loop and an input and kept looping until the right answer was typed. Each question had its own loop. But cut a kid who has no educational material some slack.
My biggest epiphany was when I WORKED OUT that if I had a var and assigned it to itself + 1 then I could score and stuff; score = score + 1. Sounds like a mokey figuring out using a stick but remember I had no materials to study, no people to help me and no algebra experience since we were still doing regular math. Again, cut the kid some slack.
From there I leaned using the 4 source codes provided and the command reference. I made lots of things - and a lotta retarted games with hideous designs but I think I take pride in being able to get that far without any tutorials.

Finally got I older and started studying other languages on and off but could never commit because I realised how tough making a real game would be. So essentially I didn't really code again for years. Later in my early adulthood I started, very noncomittedly, studying C. Then I found DBPro and though it was my magic elixir. I think we all think that at first. I made a lot of tech demos, a game and some apps. During this training - it was all training for my blockbuster - I realised how limited the language was. Since then I've been studying C++ on and off but I find it hard not to use C solutions lol.
Anyway, that's how Qbasic got me going. One day I'll make a thread with some of my QB source. It's scary.

"Quotes in signatures are just stupid, especially if you're quoting yourself" ~ me
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 19th Feb 2013 23:46 Edited at: 19th Feb 2013 23:47
Why I am glad I own a ThinkPad:


I just dropped it.

It lived to tell the tale...this tale that is, as this is being typed on said ThinkPad. My Acer would be dying a slow and painful death if it was the laptop I dropped.

Thankfully it wasn't. It was one of the cheap ThinkPads too...so I am glad they're still somewhat durable too.

Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 20th Feb 2013 00:19
Be glad that the laptop wasn't made by Nokia, you would have wiped out the Earth.

I think we should start talking with signatures again!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Feb 2013 00:38 Edited at: 20th Feb 2013 00:39
I ordered a coffee at Star Bucks today. They asked me what my name was. I said Batman.



TheComet

http://blankflankstudios.tumblr.com/
"You're all wrong. You're all idiots." - Fluffy Rabbit
"Bottom line, people are retarded." - Fluffy Rabbit

Attachments

Login to view attachments
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Feb 2013 03:30 Edited at: 20th Feb 2013 03:42
@nonZero
Cool, I started coding with qb as well, but I had my own personal instructor, my older bro
It's really because of qb that I'm here right now typing this. And then when I was old enough for my parents to let me get my own computer, I moved on to FreeBasic, Visual Basic and DarkBasic. But I never really got into programming, I just did it ocasionally. And then, about a year or so ago, I reinstalled the OS on my old laptop and decided to get DarkBasic for it after all, there wasn't much else it was usful for, and I thought that might be something fun to do, so I downloaded the installer (free version) which also comes with the AppGameKit demo, I then looked into AppGameKit and started using it, then Bought the full version in the christmas sale early december last year and have published one app on the Google Play Store and literally finished my next one 30 minutes ago!

Well, now that I've posted my programming life story ..............

There are 10 types of people, those who understand binary and those who don't
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Feb 2013 07:51
This Minecraft project is getting large...

A tower from bedrock to sky limit, all about 50 or so blocks by 100 or so blocks is a big project.
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 20th Feb 2013 08:25
Quote: "Be glad that the laptop wasn't made by Nokia, you would have wiped out the Earth."


I dropped my Nokia as well...I'm a clumsy idiot as you can imagine.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 20th Feb 2013 08:45
Nokia makes laptops? Genius! Well is the ground where the Nokia fell okay?
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 20th Feb 2013 08:46
I did not drop nor own a nokia
easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Feb 2013 08:56 Edited at: 20th Feb 2013 09:05
I've got a dell laptop
I didn't drop it either

There are 10 types of people, those who understand binary and those who don't
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 20th Feb 2013 08:59
Quote: "Nokia makes laptops? Genius! Well is the ground where the Nokia fell okay?"


I meant my Nokia phone, it's in a rubber case so it protected the ground from the fall.

easter bunny
12
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 20th Feb 2013 09:07
Nokia phones are made by a company called Nokia

There are 10 types of people, those who understand binary and those who don't
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 20th Feb 2013 10:21
Quote: "Nokia phones are made by a company called Nokia"


BY GOD, THIS JOLLY CHAP IS A GENIUS. WILHELMSHIRE, TAKE OUT THE CHAMPAGNE.


idk, i guess i was bored or somethong lol bad grammarzzz innit blad.

I think we should start talking with signatures again!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Feb 2013 10:33 Edited at: 20th Feb 2013 10:34
Quote: "Nokia phones are made by a company called Nokia "


Prove it.

http://blankflankstudios.tumblr.com/
"You're all wrong. You're all idiots." - Fluffy Rabbit
"Bottom line, people are retarded." - Fluffy Rabbit
Indicium
17
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 20th Feb 2013 17:28
Quote: "Prove it."


Yes, I'd like to see the proof myself. Conduct a experiment and adopt the scientific principles for proving a theory.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
Dark Frager
15
Years of Service
User Offline
Joined: 16th Mar 2010
Location: The Void.
Posted: 20th Feb 2013 17:36
You don't need proof. You're all idiots and people are retarded.

I think we should start talking with signatures again!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 20th Feb 2013 17:37 Edited at: 20th Feb 2013 17:39
Quote: "Yes, I'd like to see the proof myself. Conduct a experiment and adopt the scientific principles for proving a theory."


It's like a sink, the pull force of the water will make +1 and -1 cancel out and nokia is in the boat with paper, I made a game in 3DGM doing this so it must be true.

---------------------------------------------------------------

That moment when the capacitor (huge circle in the top left) is larger than the rest of the circuit ("rest of the circuit being in the bottom section, the cluster of components):

http://forum.thegamecreators.com/xt/xt_apollo_pic.php?i=2436235

To anyone who is interested, ^plasma speaker final version. I already ordered the PCB and it should arrive in about a week.

TheComet

http://blankflankstudios.tumblr.com/
"You're all wrong. You're all idiots." - Fluffy Rabbit
"Bottom line, people are retarded." - Fluffy Rabbit

Attachments

Login to view attachments
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 20th Feb 2013 18:17
laser points

Login to post a reply

Server time is: 2025-06-14 04:26:04
Your offset time is: 2025-06-14 04:26:04