Recent posts by Draco18s on Kongregate

Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Creating a programming language is a non-trivial task. I had a class on it in college (which I did none of the work for on account of understanding Jack Shit about what I was supposed to be doing and got a D).

Also,

 
Flag Post

Topic: Game Programming / NexScript tutorial

/ignore user=“PuerMagnum” reason=“Countess useless ideas presented as tutorials.”

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Originally posted by PuerMagnum:

They failed. They’re not doing it on every inch of the street. This idea will involve a camera that takes a panoramic picture of EVERY SINGLE inch of the room.

*Watches file size of a simple game balloon exponentially*

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Actually, yes you can. It looks 100% more realistic.

Go use Google Streetview. Tell me how realistic that looks.

And that’s a multibillion dollar company trying to do what you’re advertising.

 
Flag Post

Topic: Game Programming / Question about arrays

Originally posted by PuerMagnum:

I’ve also seen people on here with questions about Unity3D, C#, and HTML5, so you’d have to forgive me for not assuming he’s using an outdated language.

Outdated? AS3 is quite current, TYVM.

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

And how do you propose moving around objects or through doors? Zooming in on an image isn’t really going to work.

Not to mention that when you zoom in, now your left-right panning action will be slower (because the image is now larger) which makes the visual affect of making “turning” slower.

You can’t fake 3D environments like this, it won’t work.

 
Flag Post

Topic: Game Programming / 3D model search engine

Cool :)

 
Flag Post

Topic: Game Programming / Question about arrays

Pointers are bad and you should feel bad.

*Joke*

Seriously though, pointers are terrible. Yes they can do awesome amazing things. They are also a nightmare to deal with.

Also:

I don’t know what language this is

Action Script, because this is a forum on a Flash gaming site.

 
Flag Post

Topic: Game Programming / Game Idea

Originally posted by pugzy:
Originally posted by DannyDaNinja:

a game where if you die you die in real life too

So… Sword Art Online?

Greed Island?

 
Flag Post

Topic: AdVenture Capitalist / Unity still keeps crashing

Same issue here, I’ve got a pretty beefy computer and can run Unity Pro with horribly optimized projects with the profiler open, along side PhotoShop with 2 giant psds open.

Yet this game crashes within two seconds of loading (I have 200 tretrigintillion cash or thereabouts).

Firefox 33.1, Windows 7.

 
Flag Post

Topic: Game Programming / Best Way to format numbers? (show in thousands, millions, etc.)

Switch statements are great for fixed-value statements (if i == 1, if i == 2, etc). They also offer fall-through:

switch(i) {
    case 0:
        doSomething();
        break;
    case 1:
        doOneThing();
    case 2:
        doOtherThing();
        break;
}

i==1 will execute both doOneThing() and doOtherThing().

 
Flag Post

Topic: Game Programming / [Minecraft Modding] A better way of Oranizing this Data?

So I want to keep a running sum of the number of custom blocks that are placed into the world during worldgen. I also want to know roughly where (call it “how many in that chunk”) and what type so this leads to a multi-key → value relationship that needs to be fast to lookup and change (on the order of 20,000 calls for a single chunk, up to 21 chunks generated at one time).

Because I don’t have access to the actual worldgen functions that are placing the blocks into the world (I’m utilizing Custom Ore Generation to place the blocks, so I’m having to listen for the blockAddedToWorld call that fires from the placement).

So I need an internally fast location→block→count lookup method (or block→location→count). But I can’t quite figure out how I would do it. I’m currently using Minecraft’s interal NBTTagCompound object, but it’s not terribly fast at the volume of access requests that are occurring (average case is about 100 calls per chunk volume, but peak is probably 20,000).

 
Flag Post

Topic: Game Programming / Game Idea

Triggers are just the collision being true. The difference is that triggers don’t effect the physics simulation.

 
Flag Post

Topic: Game Programming / Game Idea

Its literally at the top of the forum, four lines down from the “new topic” link.

 
Flag Post

Topic: Game Programming / Game Idea

Man, its almost like this is covered in a sticky post somewhere…

Originally posted by Senekis93:

Tutorials And Reference: Where do I learn ActionScript 3?

Michael James Williams’ Avoider tutorial is a good place to start. It covers all the basic elements of ActionScript 3 and explains the code, so you know what you’re doing instead of simply copy-pasting someone else’s game.

The FlashDevelop tutorial will help you if you are using FlashDevelop, as it’s focused to it. Note that it’s not finished (and may never be), but it covers the basic aspects of FlashDevelop (installing and configuring the IDE, using the embed metatag).

The AS3 Language and Components Reference should be immediately bookmarked, as you’ll be checking it every 5 minutes while you start learning.

More programming related tutorials can be found in the Flash Game Tutorials Thread >>

 
Flag Post

Topic: Game Programming / Game Idea

Classes, HEYO!

 
Flag Post

Topic: Game Programming / Best Way to format numbers? (show in thousands, millions, etc.)

Use switch rather than if…else if… blocks.

 
Flag Post

Topic: Game Programming / Best Way to format numbers? (show in thousands, millions, etc.)

Do you mean for the placement of commas? There’s already built in functions to handle conversion of numbers to strings.

You’re going to have to explain what you’re trying to do a little better before anyone can help you.

 
Flag Post

Topic: Game Programming / Game Idea

Collisions! Trigger volumes! If statements! Distance checks!

 
Flag Post

Topic: Game Programming / 3D model search engine

Really sweet. My only suggestion is to not add more content to the bottom of the page as you scroll down. There’s a point at which the browser will become unresponsive, so it limits how deep a search a user can perform and there is no workaround.

 
Flag Post

Topic: Game Programming / Trying to start making games

If only there was a sticky…

 
Flag Post

Topic: Game Programming / Can't find uploaded game?

http://www.kongregate.com/games?sort=newest

 
Flag Post

Topic: Game Programming / array and random

Originally posted by player_03:

You’ll never find a programming language that frees you from the burden of clarifying your ideas.

Alright, that’s it. That pane is being printed and pinned above my desk. Right —ing now.

 
Flag Post

Topic: Game Programming / 3D Options

You should be fine with the free version of Unity. Your main issues are going to be ones of performance and trying to reduce your draw calls. And one of the biggest impacts you can make is a feature only available with Unity Pro.

http://www.kongregate.com/forums/4-game-programming/topics/415997-advice-unity-optimization

 
Flag Post

Topic: Game Programming / How to make a game

Is even titled “how to make games”