Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ruler501

Pages: 1 ... 60 61 [62] 63 64 ... 184
916
Miscellaneous / Re: Quality Readmes
« on: July 11, 2011, 06:04:19 pm »
I can''t read it. How do I change the encoding?

917
News / Re: Farewell
« on: July 11, 2011, 02:48:08 pm »
DJ_O it is your choice, but I think it would actually be better for the calc community if you took a break but did not leave forever I will forever be waiting for you to come back. You and a few other people in this wonderful community we call omnimaga are the reasons I still program. I was close to giving it up, but you guys showed me that it could be useful and good. I and I'm sure everyone except the most horrible trolls will miss you terribly. I hope you come back soon

918
TI-Nspire / Re: [Lua] RayCaster
« on: July 11, 2011, 12:58:40 pm »
whats the framerate right now?

919
TI-Nspire / Re: [Lua] RayCaster
« on: July 11, 2011, 12:08:51 pm »
pianoman I believe that it is a program that lets you draw 3d things like walls, trees and basically anything else. It calculates where the lines should go to. This is just my guess

920
Once we have ndless for the CX it will probably be started. I doubt its possible in lua at anything more than 10^-25 frames a second

921
Miscellaneous / Re: I'm Leaving(yet again)
« on: June 30, 2011, 10:35:39 am »
I leave in 10 min so my final goodbye for now. I will have a blast and be back in ~12 days

922
Computer Projects and Ideas / Re: My currently unnamed project
« on: June 30, 2011, 10:33:11 am »
UPDATE:
I haven't done much with the engine yet, but I have a well working script for generating the objects like weapons/players/enemies/obstacles levels are almost done and must be postponed till I'm done 'deserting' you guys. I should be able to have a beta of this out a week after I get back from Northern Tier

My code for the utility
Code: [Select]
import os
import random
import datetime

name=raw_input("What is your name?")
curdate=str(datetime.date.today())

def base10toN(num,n):
    """Change a  to a base-n number.
    Up to base-36 is supported without special notation."""
    num_rep={10:'A',
         11:'B',
         12:'C',
         13:'D',
         14:'E',
         15:'F',
         16:'G',
         17:'h',
         18:'i',
         19:'j',
         20:'k',
         21:'l',
         22:'m',
         23:'n',
         24:'o',
         25:'p',
         26:'q',
         27:'r',
         28:'s',
         29:'t',
         30:'u',
         31:'v',
         32:'w',
         33:'x',
         34:'y',
         35:'z'}
    new_num_string=''
    current=num
    while current!=0:
        remainder=current%n
        if 36>remainder>9:
            remainder_string=num_rep[remainder]
        elif remainder>=36:
            remainder_string='('+str(remainder)+')'
        else:
            remainder_string=str(remainder)
        new_num_string=remainder_string+new_num_string
        current=current/n
    return new_num_string

type=int(raw_input("""what type of file are you making
1)weapon
2)obstacle
3)player
4)enemy
5)level
6)levelpack\n"""))
if type==1:
    wname=raw_input("What is this weapons name? It is a max of 10 characters long\n")
    if len(name)>10:
        print "please try doing this again correctly"
        exit(1)
    ID=str(base10toN(random.randint(0,65535),16))
    header='/str /'+wname+' /'+curdate+' /weapon /'+name+' /'+ID+' /end'
    wclass=raw_input("What is the class number for this weeapon?0-255\n")
    folder=raw_input("What is the image folder for this weapon?\n")
    strength=raw_input("How much damage does this weapon do?\n")
    type=raw_input("Is this a projectile or beem weapon?p or b\n")
    if type=='p':
        projectile=raw_input("What is the folder for the projectiles image?\n")
        speed=raw_input("how fast does this projectile move?\n")
        transparency=raw_input("How transparent is the projectile? 0-255\n")
        ammo='p '+projectile+' '+speed+' '+transparency
    elif type=="b":
        width=raw_input("How wide is this beam?\n")
        speed=raw_input("How fast does the beam move? put 0 for instantaneous movement\n")
        color=raw_input("What is the hex value of the color of this beam?\n")
        transparency=raw_input("How transparent is the beam? 0-255\n")
        ammo='b '+color+' '+width+' '+speed+' '+transparency
    else:
        print "Please do this correctly next time"
        exit(1)
    aimab=raw_input("How amaible is this weapon? 1-360\n")
    transparency=raw_input("How transparent is the weapon? 0-255\n")
    clip=raw_input("How many shots do you have between reloads?\n")
    time=raw_input("how many frames are there between shots?\n")
    reload=raw_input("How long does it take to reload(in frames)?\n")
    usablen=int(raw_input("How many classes is this usable by?\n"))
    usable=''
    for i in xrange(0,usablen):
        usable=usable+' '+raw_input("What is a class this weapon is usable by?\n")
    file=open('w'+wname, 'w')
    file.write(header)
    file.write('\n')
    file.write(wclass)
    file.write('\n')
    file.write(folder)
    file.write('\n')
    file.write(strength)
    file.write('\n')
    file.write(ammo)
    file.write('\n')
    file.write(aimab)
    file.write('\n')
    file.write(transparency)
    file.write('\n')
    file.write(clip)
    file.write('\n')
    file.write(time)
    file.write('\n')
    file.write(reload)
    file.write('\n')
    file.write(usable)
    file.close()
elif type==2:
    oname=raw_input("What is this obstacles name? It is a max of 10 characters long\n")
    if len(name)>10:
        print "please try doing this again correctly"
        exit(1)
    ID=str(base10toN(random.randint(0,65535),16))
    header='/str /'+oname+' /'+curdate+' /enemy /'+name+' /'+ID+' /end'
    imgType=int(raw_input("""Is this obstacle a solid fill or a img file:
1)solid fill
2)img file\n"""))
    if imgType==1:
        hex=raw_input("what is the hex value of the fill color?\n")
        img="hex "+hex
    elif imgType==2:
        folder=raw_input("What is the name of the folder with the image(s)?\n")
        img="img "+folder
    else:
        print "Try putting in a valid number 1 or 2 next time"
        exit(1)
    transparency=raw_input("How transparent is this obstacle? 0-255\n")
    damage=raw_input("How much damage does this obstacle do? 0 if it doesn't do damage\n")
    slow=raw_input("By what percentage does this slow a player/enemy? 100 if you can't pass through it\n")
    destroyable=int(raw_input("Can this obstacle be destroyed? 0 or 1\n"))
    if destroyable==1:
        health=raw_input("Out of 100% how much damgae can this obstacle take?\n")
        destruction="1 "+health
    elif destroyable==0:
        destruction="0"
    else:
        print "Please try to put in a value number 1 or 0 next time"
        exit(1)
    gravity=raw_input("Is this obstacle affected by gravity?0 or 1\n")
    file=open('o'+oname, 'w')
    file.write(header)
    file.write('\n')
    file.write(img)
    file.write('\n')
    file.write(transparency)
    file.write('\n')
    file.write(damage)
    file.write('\n')
    file.write(slow)
    file.write('\n')
    file.write(destruction)
    file.write('\n')
    file.write(gravity)
    file.close()
elif type==3:
    pname=raw_input("What is the name for this player? It is a max of 10 characters long\n")
    if len(pname)>10:
        print "please try doing this again correctly"
        exit(1)
    ID=str(base10toN(random.randint(0,65535),16))
    while len(ID)<4:
        hold='0'+ID
        ID=hold
    header='/str /'+pname+' /'+curdate+' /player /'+name+' /'+ID+' /end'
    pclass=raw_input("What is the class number of this player? from 0-255\n")
    folder=raw_input("What folder has the images for this player?\n")
    health=raw_input("How much health does this player have? Out of 100\n")
    jump=raw_input("How quickly does this player jump?\n")
    transparency=raw_input("How transparent is this player? 0-255\n")
    speed=raw_input("How fast is this player?\n")
    walljump=raw_input("HCan this player walljump? 0 or 1\n")
    crouch=raw_input("Can this player crouch? 0 or 1\n")
    file=open('p'+pname, 'w')
    file.write(header)
    file.write('\n')
    file.write(pclass)
    file.write('\n')
    file.write(folder)
    file.write('\n')
    file.write(health)
    file.write('\n')
    file.write(jump)
    file.write('\n')
    file.write(transparency)
    file.write('\n')
    file.write(speed)
    file.write('\n')
    file.write(walljump)
    file.write('\n')
    file.write(crouch)
    file.close()
elif type==4:
    ename=raw_input("What is the name for this enemy? It is a max of 10 characters long\n")
    if len(ename)>10:
        print "please try doing this again correctly"
        exit(1)
    ID=str(base10toN(random.randint(0,65535),16))
    while len(ID)<4:
        hold='0'+ID
        ID=hold
    header='/str /'+ename+' /'+curdate+' /enemy /'+name+' /'+ID+' /end'
    eclass=raw_input("What is the class number of this enemy? from 0-255\n")
    folder=raw_input("What is the name of the folder with the images?\n")
    health=raw_input("How much health does this enemy have out of 100?\n")
    jump=raw_input("How fast does this enemy jump(px/s) put zero if he can't jump?\n")
    transparency=raw_input("How transparent is this enemy? 0-255\n")
    speed=raw_input("How fast does this enemy move(px/f)?\n")
    crouch=raw_input("Can this unit crouch? 0/1\n")
    AIlvl=raw_input("how good is this enemies AI? 1=perfect\n")
    file=open('e'+ename, 'w')
    file.write(header)
    file.write('\n')
    file.write(eclass)
    file.write('\n')
    file.write(folder)
    file.write('\n')
    file.write(health)
    file.write('\n')
    file.write(jump)
    file.write('\n')
    file.write(transparency)
    file.write('\n')
    file.write(speed)
    file.write('\n')
    file.write(crouch)
    file.write('\n')
    file.write(AIlvl)
    file.close()
elif type==5:
    lname=raw_input("What is the name for this enemy? It is a max of 10 characters long\n")
    if len(lname)>10:
        print "please try doing this again correctly"
        exit(1)
    ID=str(base10toN(random.randint(0,65535),16))
    while len(ID)<4:
        hold='0'+ID
        ID=hold
    header='/str /'+lname+' /'+curdate+' /level /'+name+' /'+ID+' /end'
    startx=raw_input("What is the x value of the starting positions top left?\n")
    starty=raw_input("What is the y value for the starting positions(higher=lower) top left?\n")
    start=x+','+y
    endx=raw_input("What is the x value of the ending positions top left?\n")
    endy=raw_input("What is the y value of the ending positions(higher=lower) top left?\n")
    endimage=raw_input("what is the name of the image for the ending position?\n")
    endtransparency=raw_input("What is the transparency for the ending? 0-255\n")
    endtime=raw_input("How long do you have to stay on the ending position to win?\n")
    end= endx+','+endy+' '+endimage+' '+endtransparency+' '+endtime
    enemyamount=int(raw_input("How many enemies will you need to make?\n"))
    enemies=''
    for i in xrange(0,enemyamount):
        ename=raw_input('What is this enemies name?\n')
        ex=raw_input("What is the x value of the top left of where this enemy appears?\n")
        ey=raw_input("What is the y value(higher=lower) of the top left of where this enemy appears?\n")
        eweapon=raw_input("What is the name of its default weapon?\n")
        ewclips=raw_input("How many clips does it start with?\n")
        entrance=int(raw_input("""Does this enemy come in
        1)on time
        2)randomly
        3)by player position\n"""))
        if entrance==1:
            etiming=raw_input("HOw many frames into the game should this enemy appear?\n")
            entry='t '+etiming
        elif entrance==2:
            repeat=raw_input("Does this unit appear more than once? 1 or 0\n")
            entry='r '+repeat
        elif entrance==3:
            px=raw_input("When the player gets to what x value does this enemy appear?\n")
            py=raw_input("When the player gets to what y value does this enemy appear?\n")
            entry='p '+px+','+py
        else:
            print "Please do this correctly next time"
            exit(1)
        enemies+=ename+' '+ex+','+ey+' '+eweapon+' '+ewclips+' '+entry+' /'
    obstacleamount=int(raw_input("How many enemies will you need to make?\n"))
    obstacle=''
    for i in xrange(0,obstacleamount):
        oname=raw_input('What is this obstacles name?\n')
        ox=raw_input("What is the x value of the top left of where this obstacle appears?\n")
        oy=raw_input("What is the y value(higher=lower) of the top left of where this obstacle appears?\n")
        ogravity=raw_input("Is this obstacle affected by gravity?0 or 1\n")
        randomness=raw_input("Does this obstacle randomly appear throughout the level?\n")
        obstacle+=oname+' '+ox+','oy+' '+gravity+' '+randomness
    gravity=raw_input("What is the force of gravity in px's(lower=higher force)?\n")
    pweapon=raw_input("What is the default weapons name?\n")
    pwclips=raw_input("How many clips does the default weapon come with?\n")
    weapon=pweapon+' '+pwclips
   
elif type==6:
    pass
else:
    print "Try again with a valid number 1-6"
    exit(1)
The level part of it doesn't work yet. Once I've released this I will make it into a graphical editor, but until then I'll leave it as purely text

923
Humour and Jokes / Re: stupidity taken to the next level
« on: June 30, 2011, 10:20:48 am »
He'll probably never be able to have kids... I wonder how long he was in the hospital?

924
Miscellaneous / Re: I'm Leaving(yet again)
« on: June 30, 2011, 10:19:44 am »
wow! don't get lost :P
We'll have a guide with us who knows the area and a satellite phone just in case. I'll be sure to get back I have to finish my project

925
Miscellaneous / Re: I'm Leaving(yet again)
« on: June 30, 2011, 10:03:17 am »
Wow, you're going to be away for a while huh? I hope you have a blast! Watch out for poison ivy, and unfriendly wildlife... you know, like LOBSTERS.  ;D
I'll watch out for teh pink lobsters. The blue lobsters are my friends(as long as I don't break omnom).
I'm almost completely immune to poison ivy thank goodness :)
I have a pocket knife and the ability to run for my life to deal with wildlife
I'll be gone for nearly 2 weeks(12 days)

926
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: June 30, 2011, 09:51:34 am »
1735: *.* You wish there could be invisible smilies.

1754: You wish there was invisible alt text.
1755;you fear where this might go to

927
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: June 30, 2011, 09:43:30 am »
171B: You haven't even noticed that i started counting in HEX
Wow... I really didn't notice it until you mentioned it. XD
1752:THE GAME
1753: YOu are cursing art of camelot for his post

928
News / Re: 100+ posts day streak reaches 1 year
« on: June 30, 2011, 09:40:09 am »
Omnimaga has reached a new milestone Tuesday: For an entire year, the Omnimaga forums had no day under 100 posts! The last time we had under 100 was on June 28th 2010.

Here are the lowest and highest daily post counts for each month since June 2010, along with the entire month's daily average:

Month  Low High Avg/Day
Jun 10  89  446  242
Jul 10 124  462  211
Aug 10 134  410  240
Sep 10 124  553  310
Oct 10 263  522  388
Nov 10 213  739  421
Dec 10 206  595  377
Jan 11 248  452  334
Feb 11 188* 553  363
Mar 11 226  558  409
Apr 11 221  676  376
May 11 217  606  360
Jun 11 180  442  298
*Site went down during 8 hours

Below are some older statistics:
Spoiler For Spoiler:
Month  Low High Avg/Day
Sep 08   3   64   27
Oct 08   2   52   15
Nov 08   6   87   33
Dec 08   3   51   18
Jan 09   2   81   27
Feb 09  20  102   50
Mar 09   7   92   34
Apr 09   4   53   27
May 09   0* 153   48
Jun 09  15  117   55
Jul 09  11  123   37
Aug 09   2   77   27
Sep 09   8   76   44
Oct 09   5   52   27
Nov 09  26   90   52
Dec 09  23  124   68
Jan 10  38  158   84
Feb 10  45  147   93
Mar 10  51  362  172
Apr 10  88  337  181
May 10  65  250  140
We would like to thank all our contributors for having helped to keep the site lively and the forum activity consistent, helping each others and contributing their releases for others.

I would also like to say that I am happy to see the site remaining as active regardless of my own activity level, which makes me confident the site will continue to thrive in long terms, no matter how much I contribute, if at all. Remember, however, that if you're participating to the Axe Parser contest, you only have 2 weeks left to work on your entry, so make sure to focus on this too (and don't forget about backups)!
I've had nearly 100 post days just a month or so ago

929
Miscellaneous / Re: I'm Leaving(yet again)
« on: June 30, 2011, 09:38:51 am »
It will be a lot of fun. I'm sure I'll miss being able to talk to the omni community though(well that and all things electronic)

930
Miscellaneous / I'm Leaving(yet again)
« on: June 30, 2011, 09:11:59 am »
I'm leaving for Northern Tier today. I'll get back on July 11th. I'll probably be in sever withdrawal since there will be no electronics or internet or calculators :o. Northern Tier is a Boy Scout High Adventure Trip. A 50 to 130 mile canoing trip depending on the weather. It will be through the Minnesotan/Canadian Boundary waters where we have to carry the canoes and 60+ lb. supply bags from each lake to another. It'll hopefully be a lot of fun. When I get back my projects will be kicked into high gear(I already almost have all the editors set up for my one project)

Pages: 1 ... 60 61 [62] 63 64 ... 184