Jump to content


Tepi

Member Since 01 Jun 2007
Offline Last Active May 21 2013 09:29 PM

Topics I've Started

Krispy Kreme

13 July 2012 - 04:02 PM

In case you don't know who I'm talking about, watch this (no, really, you should):




That's Sir Krispy Kreme and the Money Maker Mike for y'all. The friggin' ganstaest ever. The Baddest, so bad he fought two lions and won, and he don't even carry a gun (as seen). So bad, he'd punch me up in the air like a kite, even if I had infinity knives! Compared to him Jay-Z is lazy. He made out with every girl in the world... He even bets I don't know 2+2.

I mean, 400 mouses. Seriously. Do you have that many Do you?


The rapper's so great that you're lucky it doesn't stop there! See these:
Haters Wanna Be Me
Best Friends (this one's actually quite good)
Girld Work It
Stolen Bikes
Coolest Guys

Money Maker Mike's pretty gangsta too. Never raps a word but he's always there.


 


Okay serious now for a moment. Is this guy retarded? Who in his right mind would do stuff like this? I mean, he even goes on to sob in front of his audience about fighting for your dreams, and seems very serious at all times. You'd bet he's autistic or something, just sharing his stuff on Youtube like many others. Having done something like this though, I expect he's going to have hard time trying to survive in real life, among them haters.


But one thing bothers me. His raps are actually kind of good.

Spoiler

Tell me what you think.

ROBOBOT 3D ◬

21 June 2010 - 08:59 PM

Posted Image



Description:
Robobot is a 3D platformer packed with vivid environments, colorful graphics and a lot to find. There are four different levels and a boss. For each level your aim is to find a token in order to get to the next level. You can also try to collect as many gems as you can, which will increase your score.

Character:
Robobot, the hero of the game, is a robot you will control. He can run, jump, climb a ladder, punch and swerve. You rarely need to do the last two though.

Controls (press F1 in game to see these):
Mouse left button to run,
Right button to jump,
middle button to switch between first person and third person modes,
scroll to increase/decrease camera distance or zoom.
WASD to swerve,
Enter to punch,

Full controls for also keyboard and joystick:
Spoiler

You can change the mouse sensitivity (and also joystick sensitivity using the same slider btw), fog distance, global sound volume, and game resolution from the settings. You can also switch what's considered r and z axes in your joystick by pressing F2 in the controls window in case you have one of those Logitech gamepads with a slightly different layout.

Some features:

Spoiler


Just cut the crap already and show some SCREENSHOTS!!!111!!1:

Posted Image
Posted Image
Posted Image
Posted Image
(first: Platforms in the first level, second: first person view from the second level's pond, third: third level spiky holes, fourth: swerving in the middle of the boss)
http://img641.imageshack.us/img641/5522/menushot.jpg (The level menu)
http://img17.imageshack.us/img17/4391/grassshot.jpg (Some vegetation of the first level)
http://img812.imageshack.us/img812/9490/shot2.jpg (The nature of the second level)
http://img822.imageshack.us/img822/9302/shot1.jpg (The second level's pond in 3rd person)
http://img820.imageshack.us/img820/916/laddershot.jpg (climbing a ladder, first level)
http://img249.imageshack.us/img249/23/lvl4shot.jpg (beware of the fourth level)
http://img295.imageshack.us/img295/3176/shotshot.jpg (Robobot getting shot in the second level)
http://img690.imageshack.us/img690/9210/spikeshot.jpg (third level spikes)
http://img822.imageshack.us/img822/8678/shot3.jpg (fourth level, shows the famous health bottle)
Of course, not to spoil all the fun, none of the screenshots are taken from the secrets, although it would have been good for the impression. The graphics are absolutely best in them.


The Hall Of Fame:
This is the high score list, for the people who have scored the most in Robobot. If you have scored enough points to get here, drop me a PM with the contents of the s1, s2 or s3 RSF save files (you can open them in notepad: DO NOT ATTEMPT TO EDIT THEM) and you can get your name here. Remember to unextract the ZIP file, because the files aren't guaranteed to get saved otherwise.
1.
2.
3.
4.
5.

(Please try not to talk about how to find some of the secrets! Let's not spoil the surprise, M'kay?) :)


The Download Link:

Category: Platformer/adventure/exploration
File Size: 13.14 MB
GM Version: GM6.
Vista/Windows 7 Compatible: yes
Changes Screen Resolution: no, optionally does (see settings).
Download link

Yoyogames instant play link





"OMG Tepi made a game!":
This game was made for most part years ago, ok? So while it's surprisingly awesome it doesn't represent my current level of skill. There are a few things that I'm not exactly proud of, such as the poor collision reaction and lack of music.

The future:
This game was mostly written when I was still learning how to use Game Maker and GML. For that reason, the game is horribly unstructured and consists of incomprehensible spaghetticode inside. I can't go on with that, so the whole game is about to be totally rewritten. The game, however, is enjoyable enough as it is now, and also for the effort gone to it, I decided to release this five-level "demo". I've been cleaning the engine from thousands of bugs for very long, just so that none of you would have to experience them. I'll dedicate the rest of the topic for the progress of the rewritten version when some progress is made.

For this reason the demo file is not likely to be updated. If you wish to give suggestions on how I should improve the game when rewritten, you are free to do so. If you wish to give suggestions on how I should change this demo, you are also free to do so, but I don't do anything with them.

For hackers and undecompilers and other losers:
This game is for the essential parts hard-coded and the user data is encrypted real-time. The code inside is such mess that you wouldn't find what you're looking for, and decompiling the game should not be easy anyway since it used the vista converter.

By the way:
This game is in no way, shape or form related to the user RoboBOT or his games. Initially my brother came up with the name, years before Game Maker existed.

Line - Shape Collision Example

10 April 2010 - 11:31 PM

There was a time when everyone suddenly needed an example of how to use my Line - Shape Collision Scripts. Well here it is.

Because one wasn't enough, I also added some interesting application for the extensions of these scripts: point of intersection and surface normal at that. The line in this example is the line of sight and every simple shape has their shootable instance. This example features an interactive crosshair: it shows you when a target (any shape excluding the floor) is in the line of fire (collision check). It also features bullet holes (point of intersection for position, surface normal for orientation), and fancy sparks when a shape is hit.

To cut a long story short, here's some info (everything else needed is in the game info or comments):
GM Version: GM8 gmk
File Size: 89.06 KB
Download Link: https://www.box.com/...ac8b6bd0ec4c8af

And screenshots:
Posted Image
Posted Image


Download and enjoy.

Trajectory_set()

26 July 2009 - 12:32 AM

I saw some topic that asked for a code that could aim into a direction such that it will always hit a certain target point (gravity included). I decided to give it a try and later checked the solutions other people had found. All of those included trigonometry, and inverse trigonometric functions as well. I find this stupid. It takes no angles to solve this. I came up with this:

PRE
//////////////////////////////////////////////////////////////////////
/// trajectory_set(Bullet, x, y, speed, g, direct); //////////////////
//////////////////////////////////////////////////////////////////////
//////// Bullet:  The projectile instance ////////////////////////////
//////// (x, y):  The position if the target /////////////////////////
//////// speed:   The speed of the projectile ////////////////////////
//////// g:       The acceleration due to gravity ////////////////////
//////// direct:  Whether to go through the more direct trajectory ///
//////////////////////////// ~ Tepi //////////////////////////////////

{
    var  Bullet, xx, yy, g, d, t;
    
        Bullet = argument0;
        xx     = argument1 - (Bullet).x;
        yy     = argument2 - (Bullet).y;
        d      = argument3;
        g      = argument4;
    
            t  = d * d  -  g * yy;
            d  = t*t - g*g*(xx*xx + yy*yy);
            if  ((t*t - d)*d <= 0)    return 0;
            t -= (argument5*2-1)*sqrt( d );
    
        Bullet.hspeed = xx;
        Bullet.vspeed = yy  +  t / g;
        Bullet.speed  = argument3;
        
    return  1;
}
All I did was solve the parametric equation of the parabola first for hspeed and then for t:
x = x0 + hspeed*t;
y = y0 + vspeed*t - .5*g*t*t;

Now a few words about how this works:
  • This sets the velocity of the projectile
  • There are two solutions, the final argument denotes whether you want it to go the more direct way
  • The gravity works in the direction of the negative y-axis. In order to make it go down, negate your g (put a minus in front of it)
  • Returns whether succesfull, e.g. When there's no solution, the projectile can't ever reach the target 0 is returned
  • The projectile can obviously only have positive speed
  • Zero-gravity is not an option

Tell me what you think.

~ Tepi

EDIT: Optimized to the max: now requires a single sqrt() function call and no more!   :cool:

The Weirdest Bug Ever

15 February 2009 - 04:52 PM

Ok. We all probably know that Game Maker is full of weird bugs. However, this one that I'm going to introduce is probably the winner.

The use of the texture index of (about) 1 returns in a texture full of different characters: abcdefghijklmnopqrstuvwxyz and so forth. The problem is, I haven't put there any resource like that. No picture, not even a piece of text.

Here you can find the gm6.

As you can see, there isn't much anything. The things affecting the result are:
  • manipulating the sprite resources (e.g. deleting the image).
  • removing the draw_text(0,0,"") line (where the string can be any).
The thing drawn is ellipsoid around the camera. It could actually be any object that's drawn with the tex-argument 1, try it.

I have no idea at all about what could possibly cause this. I noticed the problem when a script was interfering with my texture variable t. In my game, though, I have no problem with this. It'd be just nice to know what causes this wild error.  :whistle:

EDIT: It's no bug, see below.