Jump to content


Photo

3d Flashlight


  • Please log in to reply
35 replies to this topic

#21 kajnista

kajnista

    GMC Member

  • New Member
  • 15 posts

Posted 07 May 2010 - 11:27 AM

Problem solved, thanks to Desert Dog!
  • 0

#22 linus371

linus371

    Cactus Games

  • New Member
  • 574 posts

Posted 07 May 2010 - 11:27 AM

nice :)
  • 0

#23 Tepi

Tepi

    GMC Member

  • Global Moderators
  • 4201 posts
  • Version:GM8.1

Posted 07 May 2010 - 11:32 AM

This is the time to inform y'all that the topic is over two years old.
  • 0

#24 Desert Dog

Desert Dog

    GMC Member

  • Global Moderators
  • 6409 posts
  • Version:Unknown

Posted 08 May 2010 - 01:28 AM

This is the time to inform y'all that the topic is over two years old.

With a working link. What's the issue?

@kajnista: Your welcome. :)
  • 0

#25 kajnista

kajnista

    GMC Member

  • New Member
  • 15 posts

Posted 08 May 2010 - 10:22 PM

thanks :)
  • 0

#26 connorbecool

connorbecool

    GMC Member

  • New Member
  • 1 posts

Posted 15 May 2010 - 09:23 PM

WOW...i usually dont reply to any tutorials or somthin ...but i had to reply to this... thnx :(
  • 0

#27 RamboFox

RamboFox

    Tainted Fortune

  • New Member
  • 992 posts

Posted 23 May 2010 - 10:38 AM

Oh goodness, don't tell me you're just drawing a sprite over the screen.

He is. QUICK! HE'S A NOOB! FLAME HIM! TROLL HIM!

Make an engine yourself before you decide to criticize a simple example such as this.
Also, if you think you're so high-and-mighty that you have the freedom to put down a member's efforts, make one yourself, make it better, THEN you can brag all you like.

Back on topic: Nice example. simple, and ends with a quick and easy effect that runs fairly fast :)

Edited by RamboFox, 23 May 2010 - 10:41 AM.

  • 0

#28 THE_GAME_EDITOR

THE_GAME_EDITOR

    GMC Member

  • GMC Member
  • 798 posts
  • Version:GM8.1

Posted 25 May 2010 - 03:00 PM

Pff.. ofcourse it runs fast. :lol:
It's just a sprite with a blend mode after all.
  • 0

#29 RamboFox

RamboFox

    Tainted Fortune

  • New Member
  • 992 posts

Posted 27 May 2010 - 02:54 AM

Yeah, that was the point - right?

A simple example for members who are new to programming, resulting with fairly good looking effects.
  • 0

#30 togman100

togman100

    GMC Member

  • New Member
  • 161 posts

Posted 10 June 2010 - 06:56 PM

Well done! :)
  • 0

#31 reynz

reynz

    GMC Member

  • New Member
  • 2 posts

Posted 14 June 2011 - 09:02 AM

hmm, it's not the best solution for flashlight, BUT i made quickly in gm a sprite that looks like you're wearing glasses, try it, it's cool :) also the quality of it is horrible :unsure: but it is just for testing the idea
Posted Image
  • 0

#32 Captain Mangoes

Captain Mangoes

    GMC Member

  • GMC Member
  • 117 posts

Posted 14 June 2011 - 09:38 AM

The solution I use for a flashlight is to raytrace until a wall or floor is hit, back trace a few steps, then define a small point light at that position. It has no problem working with other lights and as you walk and shine the light, the light flickers a bit which gives a creepy horror vibe.
  • 0

#33 THE_GAME_EDITOR

THE_GAME_EDITOR

    GMC Member

  • GMC Member
  • 798 posts
  • Version:GM8.1

Posted 15 June 2011 - 07:57 AM

Zzzzzzzz..
Gamemaker's graphics won't scare me.
  • 0

#34 Rassym

Rassym

    GMC Member

  • New Member
  • 286 posts
  • Version:Unknown

Posted 28 April 2012 - 10:25 PM

Why does the darkness from the flashlight make my hud so dark?

Can anyone help me with this?
  • 0

#35 wixerzp

wixerzp

    GMC Member

  • New Member
  • 1 posts
  • Version:GM8

Posted 20 May 2013 - 10:27 AM

why cant i see monsters and bullets when i put the flashlight object in the room?


  • 0

#36 Noel_Abercrombie

Noel_Abercrombie

    Procrastinator Prime

  • GMC Member
  • 20 posts
  • Version:GM:Studio

Posted 20 May 2013 - 11:22 AM

why cant i see monsters and bullets when i put the flashlight object in the room?

Depends. Without knowing anything about your project, I'll just give you some generic advice : Check your object depths are correct. The lower the number is, the later it is drawn onto the screen.


  • 0




2 user(s) are reading this topic

2 members, 0 guests, 0 anonymous users