Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Poigahn

Member Since 05 Dec 2012
Offline Last Active Apr 04 2013 04:33 AM
-----

Topics I've Started

Are Certain Constants Really Necessary ?

17 March 2013 - 05:54 AM

I have been reading through several sample programs and tutorials, I quite simply sometimes get lost following certain variables and ask the question why they are used that way ?   Maybe someone can provide a logical answer or possibly agree with my observation.

 

 

In Particularly the following :

 

 

Constant  Hieght:640, Width:800;

 

Screen(Height,Width);

 

Is this really necessary ?   Is it not just as effective to simply code  Screen(640,800);   ?

 

Now some constants I could understand why they are used and in fact use them quite often myself.  Example creating and dimensional array of constants where a certain set of variables may change through the course of the program, but will only vary within a certain predesigned set.

 

For Example :  Constant Hi(1):60,Hi(2):80, Hi(3):100;

 

This is then used like so :

 

Print(" Your High at this level is > ",Hi(Level));

 

So, are constants that never really need to change within the program really necessary define as a constant variable ?


Where Can I Find out More ? 3D Programming

21 January 2013 - 05:42 PM

Okay - a brief overview.  I am reading / read 3D game programming all in one utilizing the Torgue Game Engine.  Learned alot.

  I like to work in Blitz3D while I am learning about scripting.  Everything I do is self Taught with the books I buy, Trial and error and keeping what is good. 

  I have created several 3D Models, Mostly vehicles,  Did some animations things are looking good. 

  What books are available to build upon what I am learning in Torgue?  What I want to know next is how to attach weapons / change the weapons on my vehilces at run-time.  Also looking for information on how to blow apart my models ( Explode them when destroyed )

  I  have Textured my models, ( Still improving on my art skills ) So I am also looking for graphics information on how to ad a decal to my Texture at rune-time without having to make new Textures (Skins) to cover all of the decal options I want.

  I have seen this done in games like need for speed where the user can paint and decal a vehicle while they are playing.  This is the kind of books I am looking for.

 

  Can anyone point me in the right direction with titles ?


A Rubic's Cube Type Problem !

01 January 2013 - 09:18 AM

Let me start by saying I searched the Vintage post for This topic, and did not find anything Useful.

 

1 - Has anyone solved the rotations of the Rubic's Cube, other than "Peeling of the color squares and re-applaying them" ?

    Doing That has me wondering, since I can not find in any of my books on 3D graphics. 

    How do I applay a texture to ONLY 1 Side of a Cube ?

2 - I can Apply 6 different colors to the cube ( 1 on each side via a UVMapper software and then creating a Skin Texture )

     But since I want to apply an Image to this Cube, when the Cube is rotated, Peices of the Image are also Rotated, rendering them Upside down.

    I want the images to remain upright so how do I Manipulate the image only on 1 side of the cube ?

 

I hope I worded this correctly .  Basically, I want to know how to take 6 different images and apply each image to the appropriate side of my Cube?


Creating a Random access file Troubles

11 December 2012 - 08:17 AM

Need help with the proper math for a random access file on the harddrive.  I need to create a list of words that are 18 charactors long ( Single Words )  Instead of doing a sequential read/write file. I want to use random access so that when I add a word I can alphabetize it when adding to it. What would be the proper seekfile read write method.

  SeekFile(filenum,((Fileposition * 18)-18))
  Word$ = Readstring(filenum)
  if (Myword < Word$ ) Then
    SeekFile(Filenum,((FilePosition * 18) - 18))
    writestring(filenum,MyWord)
    MyWord = WordString
   End If
   FilePosition ++
   Loop

  Not using actual code just psuedo coding above

? Accessing Computers Spell Checking Dictionary ?

09 December 2012 - 01:14 PM

I have created a simple Word Puzzle Game where the player creates words from 36 Random Letter Tiles.  Everything Works , updates scores like it was designed.  However, the game requires a spell checker in order to verify the spelling of a word that the player creates in order to be complete.

  Currently, during testing, the player has to add each and every word to a list that maintained by the program. ( If the player has already entered the word they do not have to do it again )

  How do I Utilize spell checker or any other Dictionary that might already exist on the Computer ?

PARTNERS