Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

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.

Topics - Xiphirx

Pages: 1 [2] 3 4 ... 7
21
Discussion / [NOOB] How do I use these packages?
« on: March 22, 2010, 02:19:47 am »
I have not been having trouble programming with SDL and C++, but I need a function to save PNGs, and I have found this function apparently at http://encelo.netsons.org/_download/savesurf.tar.gz .
Now, I un-tar (lal) the archive and I get a bunch of files with a makefile.

This is where I don't know what to do. How do I implement these into my project?

I am pretty sure I have to use the makefile, but I always though they were for Linux, and I am on Windows...

22
Coding / [MATH] D:
« on: March 09, 2010, 11:36:48 pm »
Hey there,

I am trying to figure out how to make a box expand height wise (easing) using a function for y...

right now I have y=400-x where x is the counting variable in a for loop, but its not very "easing"-like  D: ...

lets define some things:
x = counter variable, increasing by one every frame
z = the desired height
c = starting height

I hope this is possible...

23
Graphics / [Resources] My old sprites...
« on: February 19, 2010, 10:59:29 pm »
Why hello there... These are my old sprites from way back when. I think I did a pretty good job on them, and I hope I didn't make a duplicate of this topic before... D:

(Devy is me, it's my old name)






crappy colors, you can replicate it though (this was a collab effort from the community, mostly BrokenArrow, I just mixed peoples parts and made this gif)














Disregard and "Don't use" crap on there, go ahead.

Some of these are probably not credited correctly... Please let me know if thats the case... D:

24
Entertainment / Who Got the StarCraft II Beta?
« on: February 18, 2010, 06:08:53 pm »
I didn't, if you did, I kill you.

;___;

25
Coding / [C++] SDL Scrolling Help
« on: February 18, 2010, 06:00:36 pm »
Code: [Select]
if (event.type == SDL_MOUSEBUTTONUP )
{
if (event.button.button == SDL_BUTTON_WHEELUP)
{
selTile++;
if (selTile > numTiles) { selTile = 0; }
}

if (event.button.button ==SDL_BUTTON_WHEELDOWN)
{
selTile--;
if (selTile < 0) { selTile = numTiles; }
}
}

This code works, but the scrolling never stops unless I move my mouse or press a key... I was wondering if there was a way to only scroll when Im actually scrolling. I am trying to find a event clear function of some sort...

26
Coding / [BMAX] Converting Fun...
« on: November 16, 2009, 12:39:27 am »
So I started a map editor in Blitz3D since it was easier to use than BlitzMax, and I got far into development. I then noticed that Blitz3D does not support transparent PNGs... so I had no other choice than to convert the code into BlitzMax.

This is a nightmare D:

I never knew BlitzMax's 3D arrays were impossible to work with :(

I am trying to declare it like this
Code: [Select]
Global map:Int[0,0,0]

But I can't resize it... which I need to do

So here are my questions:
Can someone provide me with a way to resize a 3D array? a function that creates a new array maybe?
How do I pass an array as an argument for a function?

EDIT: Or can someone tell me how to load transparent PNG's in Blitz3D? <- this would be the best solution D:

27
Coding / [BMAX] Arrays...
« on: October 16, 2009, 09:25:54 pm »
Is there a way to resize a 3d array? It seems like BMAX doesnt support dynamic arrays :(...

I'm trying to make a map editor, so I cannot keep the array static.

28
Updates / Project of the Month
« on: October 01, 2009, 03:11:49 am »
Project of the Month - September 2009

Ocarina of Time 2D




Forum Topic | Site Page

Developer: Xfixium
Language: Game Maker
First Posted: September 6th, 2008
Last Update: September 13th, 2009


    Throughout ZFGC's history users have made efforts to do better than what had been done. Whether it was improving upon an existing style or making their own mix of one, users have experimented with some of the outcomes being good. This is one of those projects.

    Xfixium's OoT2D project was chosen for this reason. It also had some updates over the course of the month of September, it garnered user interest in what it was doing, and it showcased Xfixium's talents as a developer and more so as a skilled programmer. The sum of all those efforts is really why Xfixium's OoT2D project was chosen for the Project of the Month for September 2009.


Game Story/Plot

    Before time was time, three great goddesses decended upon the chaos that was and created the land of Hyrule; Din, goddess of power, Nayru, goddess of wisdom and Farore, the godess of courage.Din, using great magical flames, created the land, the sea, and all the minerals which would be scattered along the length, breadth and height of this new world; in doing so, she gave this new world the materials it could exist with. Nayru poured out her rich soul and gave the Spirit of Law onto the world, so that rivers would flow and the sun and moon would rise and fall with each day; this allowed Hyrule to have the knowledge by which it could exist. And finally, Farore then created all the lifeforms which would uphold the law, from the tinest of insects to the largest and most powerful of animals; this gave Hyrule the will to exist.

    The three great Goddesses, their labours completed, then departed for the Heavans. However, at the point where the Goddesses left their new creation, they each left behind a golden triangle which contained the essense of their power. This mighty artifact, called the Triforce, though able to grant extremely powerful magic to whoever touched it, was infinitely delicate: if one who did not hold all three aspects of the Triforce - power, wisdom and courage - within perfect balance, the Triforce would split into its three aspects and the person who first touched the Triforce would be left and only one force would remain in his hand: the force which he most believed in. The remaining two aspects would take refuge within the hearts and minds of two who best personified the remaining aspects of the Triforce.

    It was for this reason that seven Ancient Sages, at least one representing each of Hyrule's races, decided to hide the Triforce within a hidden Sacred Realm using a complex magical seal. Firstly, the only gate to the Sacred Realm would be the magnificent Temple of Time within Hyrule Town. In order for the magical door to be opened, one would have to hold the three Spiritual Stones of Fire, Water and the Forest. Then, they would have to play the sacred Song of Time on a magical instrument, the Ocarina of Time. Only then would the great stone Door of Time open, to reveal.....the Master Sword, standing within the Pedastal of Time. This was the final key needed to open he gate to the Sacred Realm; only one with a heart and mind devoid of any evil would be able to lift such a blade. This complex seal ensured only the most determined of seekers could have a hope of obtaining the Triforce, and that those who did enter the Sacred Realm could only do so with entirely good intentions.

    Though complex, this seal was necessary due to an age-old prophecy: if one with a pure heart obtains the Triforce, Hyrule would be led into a new age of peace and prosperity. But if an evil-hearted person obtained the Triforce, then he would begin a Great Cataclysm. Only the one who held the Master Sword would be able to stand against the man who began the Great Cataclysm.


Recent Screenshots



Crop circles. Link has 'em


About to be run over.


Developer Q & A

Q. What makes you think that you will triumph in making an OOT2D when others failed?

A. Absolutely nothing, lol. The project is a major undertaking, no doubt about it. My idea however is to do as much as I can and on major releases I plan on offering the source code and resources up for future use by other people or dev teams.

Q.Does the fact that ahmio's OOT2D is progressing help you develop your game or hurt your development?

A. I don't believe it has an effect one way or the other at this point.

Q. Are you using any specially made tools to help develop the game faster?

A. Yes, I have software that I have about 90% written called GMare that makes the special room binaries for OoT2D.

Q. How many times/what did you do to finally settle on the graphics style?

A. Well, once discussion was made to do the remake, as it was originally a small team of people doing this project, we agreed on FSA style based on a mock-up. I always enjoyed FSA's graphical style, and wanted to emulate it.

Q. Since you know other languages than GML, would you be thinking of porting your game to a more efficient language when the time comes?

A. I'd love to, I just don't see it happening anytime soon.

Q. The mini-map in the screen shot looks complicated. Was it hard to create a mini-map like that? Where did you get the mini-map graphics?

A. Actually, it's not very complicated. It uses some simple math in comparison of the room size versus the mini-map image size to Link's position. The hardest part was making the mini-map jive up correctly with Link's position; which involved me testing the map, and making changes in my image editor. The mini-map is a custom to match the FSA styled map. The end result is very nice. Also having Link's marker (a Minish Cap rip) face the way Link faces is a nice touch, in my opinion.

Q. Do you have any music in the game currently? If so, where did you get the music? Is it directly from Nintendo, or from an indie source?

A. I do have some music gathered. It was taken from VGMusic.com, and all in midi format. I'm sure many people have used them, lol. They are currently just place holders. This helps me get a "feel" for the environment.

Q. Your version of Kokiri Forest seems much more detailed, are there any new areas/things included in your game? Do you plan on including anything new?

A. My Kokiri Forest is influenced by daz123's OoT2D Kokiri Forest as I found it was very close to OOT's mini-map layout. There are some changes to the overall layout that will be made, and things that I have forgotten will be added. As for new things, I don't really have anything planned. I am trying to keep it as close to the original as possible. However, I'm open to suggestions.

Q. How far has this progressed in terms of cut scenes? Do you have the opening cut scene ready?

A. None at this time. Right now I'm working on some basic functionality. Getting a solid template down on all resource styles, and creating some new sprites from scratch. Like the Deku Tree. These tests will dictate how my cut scenes will look like, so that I waste little time rendering them.

Q. If someone needs help with programming an aspect that you accomplished in your game, are you willing to share some techniques you used for your game? Do you think that the game will ever be open-source?

A. It definitely will be an open source project. All code and resources free for use by anyone. I will answer questions freely, if I am able to.

Q. It seems like you are developing your own version of the room object in Game Maker. What makes your version different?

A. True, it's not a conventional Game Maker room. The main thing is that the room holds no actual tile objects. There won't be any of those. Instead the tiles are drawn dynamically to a surface, by an object. This allows the filters to be applied on the fly. Which was something that should have been obvious to me from the get go. Only when working on GMare did I come up with the idea. The only drawback is if a graphics card does not support surfaces, the game won't run. Most modern cards shouldn't have this issue though.

29
Discussion / Map Editor Help
« on: September 21, 2009, 07:34:41 pm »
So, I noticed that if I post my coding problems on ZFGC, I figure them out myself in a matter of minutes. Hopefully this is the same...

Before you read:
the map is made up of 32x32 tiles
tilesize is 32
fromy is calculated correctly
scr_left is the offset from the very left edge of the map (so you can scroll around on the map)
scr_top is like scr_left but for the y axis
fromx is calculated correctly
Code: [Select]
thefromx = fromx*tsize-scr_left
thefromy = fromy*tsize-scr_top
thewidthx = (((MouseX()+scr_left)/tsize)*tsize)-fromx*tsize+tsize
thewidthy = (((MouseY()+scr_top)/tsize)*tsize)-fromy*tsize+tsize
If thewidthx = 0 Then thewidthx = 1
If thewidthy = 0 Then thewidthy = 1
Rect thefromx, thefromy, thewidthx, thewidthy, 0

Now, what this does is put a selection rectangle around the area where I click and drag. It works perfectly for dragging in the positive axes relative to the starting point, but it does not display anything for the negative axes (you cant draw a negative width :P). How do I get rid of the issue, and figure out where the new starting point should be and the width if the user does go into the negative axes?

If you need more code/explanation tell me.

30
Coding / Begginner C++ Help
« on: September 12, 2009, 07:01:09 pm »
So here's my problem:

Quote
Write a program to input a long integer then print it with commas if it has more than three digits. For example, -2036 and 1234567890 would be printed as -2,036 and 1,234,567,890, respectively.

Here's what I came up with:

Code: [Select]
long input;
int numberoften;
cout << "Enter a number ";
cin >> input;
cout << endl;

if (input > 1000000000 || input < 1000000000)
{
          cout << input/1000000000 << ",";
}
if (input > 1000000 || input < 1000000)
{
          cout << (input/1000000)%1000 << ",";
}
if (input > 1000 || input < 1000)
{
          cout << (input/1000)%1000<<",";
          cout << input%1000;
}


cout << endl;

So, my code works perfectly for positive numbers, but it fails for negative numbers. I am guessing something is wrong with my ||'s or the data type? (lost)

Also, if I put something like 1024 into the program it outputs 1,24 ...

How am I supposed to fix the program only using basic math functions, cout, and if?


31
Coding / Dynamic Image Question
« on: July 27, 2009, 12:32:28 am »
Is there some way to mess with .htaccess to fool forums that do not allow dynamic images?

Meaning,

If someone went to www.example.com/test.png it would show contents from www.example.com/test.php (this generates and image)

It seems like Xfire does it in some way...

32
Discussion / Zelda PSP
« on: July 24, 2009, 06:38:22 am »
Yea, I want another excuse to continue learning Lua and game development overall. So, I thought that I could start a fan game in Lua for PSP. I have a few questions about this because I want it to be usable for most people.

1) Do you own a CFW PSP? (if you don't know what CFW is, then say no)
2) Would you be interested in a Zelda for PSP
3) Is Lua a good choice in your opinion? (optional)

I decided to go with MC style, and I will hopefully have a MC caliber game (yeah right).

33
Coding / Blitzmax Tilemap editor
« on: July 17, 2009, 01:40:12 am »
I am aiming to make a tilemap editor  in Blitzmax, but I really have no clue on how to use the GUI components. Does someone have an example for simple GUI or a tutorial (toolbar menus, dialog boxes, butons)?

thismessagewasnotintendedforonepersonD:

34
Coding / Menuing Help
« on: June 21, 2009, 01:11:23 am »
I have an array (dynamically sized) and I want to display the contents as a menu.

Something like:
BEFORE
Quote



menuitem1
menuitem2
menuitem3
menuitem4
menuitem5

AFTER PRESSING DOWN
Quote


menuitem1
menuitem2
menuitem3
menuitem4
menuitem5


AFTER PRESSING DOWN AGAIN
Quote

menuitem1
menuitem2
menuitem3
menuitem4
menuitem5



Hopefully you see how I want it... The current choice is in the center of all the displayed choices... Or like the PSP's Game XMB menu if that helps...

So, I thought about for loops, and I couldn't get a working algorithm out :(. Another obstacle is that I can only display 6 items at a time.... and  I can't figure out how to limit that.

Help :(


35
Entertainment / Left 4 Dead 2
« on: June 02, 2009, 12:08:28 am »
http://kotaku.com/5274238/crackdown-2-left-4-dead-2-announced

Much to rushed in my opinion. I haven't even played the first (well, I did, but only for an hour). An expansion pack would be more favorable in my opinion.

36
Entertainment / PSP Go!
« on: May 30, 2009, 11:50:55 pm »
http://kotaku.com/5273232/official-psp-go-shots-leaked/gallery

So it's been leaked. I personally like the design, but I there are a few things that they !@#$% up on. Hard.

-Smaller screen
-No 2nd Analog
-Worst position for Start and Select
-Volume buttons are gone

Here's my shopped edit:


I hope to god that it isn't the final thing :X

37
Entertainment / Need Help With Writing :(
« on: May 25, 2009, 03:51:44 am »
Prompt: Choose a major work you have studied in detail and analyze the theme and explain how the historical context (Political, Social, Philosophical, Religious, Ethical, etc...) influences the work, paying particular attention to theme.

What I wrote so far:
In the novel The Great Gatsby, by F. Scott Fitzgerald, the theme of corruption of the American dream is influenced by the social historical context of the 1920’s. In the book, the American dream is sought out by Gatsby, a wealthy man with high status from his numerous extravagant parties. Fitzgerald portrays the 1920’s as a decade of corroded social values emphasizing on greed, jealousy, status and empty pursuits of happiness.

I am on extreme writer's block. This is my English final. I have to write a 2 paged essay, literally memorize it, and rewrite it in class on Tuesday. I have NO idea what else to put in the intro (above). Any tips?

I am in dire need of help D:

38
Discussion / Simple Request
« on: May 16, 2009, 09:04:47 pm »
Could someone with GM7 Pro open this file

http://willhostforfood.com/access.php?fileid=48054

and post the code? I don't have GM7 or the Pro

39
Discussion / Application FPS limiting...
« on: May 15, 2009, 01:02:53 am »
Is FPS limiting in Applications possible?

I know that it probably isn't called FPS for applications, but I do not know what to call it. Basically I want to limit the number of times the computer runs through a for loop every second to standardize the speed across computers. I have good reasons for this so don't tell me it's a bad idea :/

40
Updates / ZFGC Weekly
« on: May 11, 2009, 02:42:42 am »

Volume 11, Issue 1 - May 10, 2009
irc.kbfail.net #zfgc

1. Community Announcements
2. Best of the Forum
3. Weekly Awards
4. The Big Question


Community Announcements

-- The Game Development Competition is now taking your votes!

-- A new contest will be announced after the current Game Development competition.

-- It's Mother's Day!


Best of the Forum

Pokemon Gold & Silver are Being Remade!
http://www.zfgc.com/forum/index.php?topic=34124.0
http://kotaku.com/5238119/pokemon-remakes-take-gold-silver

Quote
Adding it all together, a teaser by Japan's Pokémon Sunday TV program points to an announcement next weekend that Pokémon Gold and Silver will be remade.

The tease, offered this weekend, said simply that Pokémon Sunday would have a "world-exclusive first announcement," on May 10 during the program's Pokémon Game Arena segment.

Oh, but there's what you say, and then there's how you say it. Or, more importantly, where you say it. In this case, it was said underneath two gold and silver confetti-filled balls. (depicted). Hmmmmmm. HMMMMMMMM. What could that mean?

From Bulbanews: "It is also theorized that Junichi Masuda will appear on the show to make the announcement, since he did so both last month and the month prior in regard to other game-related scoops."

As awesome as this sounds, in a way, I don't want it. If it's made classic, then yes, but if they insert all the stupid gameplay mechanics from the recent generations then no thank you.

Pos Claying
http://www.zfgc.com/forum/index.php?topic=34163.0
Quote from: ArcticFerret
Is anyone going to Anime Central 2009 in Chicago this week? Im vacationing in Chicago this week and staying with family/friends and will be going to ACen on Friday and Saturday. My sis is working on my costume this week and its going to be amazing. I'll be cosplaying as Yuna, Summoner costume from FFX.

Couch Potatoes Rejoice!
http://www.zfgc.com/forum/index.php?topic=34189.0
Quote from: Theforeshadower
lol

I am so out of shape from sitting at a pc most my life the past two years since graduating from highschool.  Made some friends at work this past year so they finally decided to see what this lazy man could do with some basketball.

Smoking hasn't helped much either.

Basically, I'm good for ten minutes, then I slow down.  I just pulled two hours straight playing 7 15-point games.  We did 2 vs 2 for the first four, then 3 vs 3 for the last 3.
The team I was on only lost the first game.

It's funny cus I'm kinda known at work as the videogame nerd(not in a bad way though) so they thought I would just be another body.  I pulled some really UGLY shots that went in.
I would putt around really slow, then just toss up the ball and swish it in.
The look on people's faces is priceless and everytime you hear "Oh-my-god" or "!@#$%..." is awesome.

Needless to say though I already feel the pain and will feel it really bad in the morning.
Tryin to get my one buddy from work to let me run with him since he is on the track team at a college around where I live to try to get back into shape.

Heaven in a School?!
http://www.zfgc.com/forum/index.php?topic=34213.0
Quote from: Malonfan2012
Today at school, we had a field trip to RIT's game developement department. It had to be one of the most amazing things I have seen in my life. Everywhere kids were sitting in front of AlienWares and programming, modelling, ect. Not to mention the lounge which contains the following:
-Two couches
-Two beanbag chairs
-Three AlienWare hardrives
-LCD HD-TV
-Blade Server
-XBOX 360
-Donkey Kong Arcade Machine! :o
-Street Fighter II Arcade Machine! :o

This is probably the college that I will go to after I graduate. Anyone else been here?


Weekly Awards

Avatar of the Week
Reo's Avatar
Quote

Art of the Week
DJVenom's WIP Desktop
http://www.zfgc.com/forum/index.php?topic=34168.0
Quote from: DJvenom
re-vectoring one of my favorite pictures / vocaloid songs :]

Comic of the Week
DJVenom's Nyoro~n Dijeru-Chan
http://www.zfgc.com/forum/index.php?topic=34199.0
Quote from: DJvenom

EPISODE 2!!!



Big Question

Last week's question: With swine flu a problem in the real world, would Ganon or Moblin flu ever be a problem in the land of Hyrule?
Summary of answers: No real bias... People were more concerned with the "Moblin Flu"

This week's question: If you could redesign Link's looks, what would you do and why?


Author of this week's issue: Xiphirx

Pages: 1 [2] 3 4 ... 7

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.176 seconds with 30 queries.