Staredit Network > Forums > SC1 Map Showcase > Topic: [BETA] Pac-Man.scx
[BETA] Pac-Man.scx
Nov 1 2008, 1:15 pm
By: Elvang  

Nov 1 2008, 1:15 pm Elvang Post #1



Pac-Man WIP.scx

This is a single player arcade style map closely resembling the arcade cabinet game Pac-Man. The map features 1 download slot for friends, a 64x64 twilight setting, and a list of features paying homage to Pac-Man games. Over the course of 255 levels the ghosts will get faster, the power pellets less effective, you'll sample different fruit, and eat thousands of dots on your quest to win. The map is now currently BETA while I weed out the last few problems and add the last feature(s). Currently works for versions 15.1-16.1


Features
  • Binky, Clyde, Inky, and Pinky
  • Pac-Man
  • A map full of pellets
  • Power Pellets
  • Fruit
  • Classic lives system
  • The 'eyes' effect
  • Movement via arrow keys
  • Classic Pac-Man sounds
  • Difficulty level that increases automatically
  • 255 Levels


Todo
DONE WORKING ON TO BEGIN DROPPED
  • 11/03 - Find out why probes are spawning with minerals
  • 11/04 - Swap out Junkyard Dog AI for planned trigger based movement AI
  • 11/04 - Re-implement fruit with new movement AI
  • Fine tune Pac-Man movement
  • Add visual warning that power pellet effect is about to wear off
  • Improve anti-stick for wandering units


Devlog
11/01/10:13AM - Still no clue how probes are ninjaing the minerals. So far stray move trigger, location hopping, and floating theories have been shot down. The probe does not move, the minerals just appear in its greedy little hands, as confirmed by a brings at least 1 to location over minerals trigger. Upon observation of the probe itself by TassadarZeratul, it appears the probe does indeed begin mining from halfway across the map. Seems the previously edited out telekinetic theory is correct? EUDs have been ruled out as the cause. A bug with starcraft's ai? Further discussion of this will take place here.
11/01/1:22PM - Mobile Grid no longer uses cycling locations and only fires every 2 cycles to increase zergling speed, as a side effect the zergling now takes corners better. Thanks NudeRaider. Decreased ghost locations and increased pacman location, partially fixed ghost respawns.
11/03/10:55AM - Finished planning out movement AI, will hopefully implement later today. Used process of elimination to find the offending trigger related to the probe problem, found something wrong with it, though to my understanding I don't see how it was allowing the probes to mine from afar.
11/04/2:54AM - Finished implementing new movement AI and applied it to fruit spawns and ghosts. Conditions for the ghosts aren't being met for some reason or another trigger somewhere is conflicting with them so ghost AI is still screwed up for the time being.
11/04/8:32AM - Weeded out the last of the bugs in the AI system, what a pain. Works rather well, only problem is that the units don't seem to want to take alternate routes when their current one is blocked, solution? Pick a new destination every few seconds. I've also removed all the limiters that would stop your unit from moving in a certain direction until I can place them better, for some reason certain corners would completely lock up your unit when only two directions were being limited.


Media






Downloads
[attach=1977]

Attachments:
Pac-Man.scx
Hits: 22 Size: 339.06kb

Post has been edited 15 time(s), last time on Jan 27 2009, 8:29 pm by Elvang.



None.

Nov 1 2008, 3:13 pm Devourer Post #2

Hello

I could not play the map now, but it looks nice....

how you made the controls via Arrow-keys??
Are you using EUDs?



Please report errors in the Staredit.Network forum.

Nov 1 2008, 3:25 pm Elvang Post #3



Yea, EUD's to detect changes in screen position and a mobile grid to move the ling.



None.

Nov 1 2008, 3:47 pm Devourer Post #4

Hello

Can you teach me how to make EUD triggera?? I never understand it....

So.... Ahli tried to teach it tio me already, and all I understand was this:
Make a map with the singlw action you want to detect, for example if selected warpgate....
Then start Artmoney, process, SCBW and filter that code out....
then... how to continuine??



Please report errors in the Staredit.Network forum.

Nov 1 2008, 4:00 pm Elvang Post #5



The quickest way is to use addresses people have already found. If you know how to memory edit/search then you can find your own addresses. The more complex stuff requires you to understand how starcraft stores its data in ram.
Collapse Box




None.

Nov 1 2008, 4:35 pm Symmetry Post #6

Dungeon Master

It works for like, 3 seconds and then the triggers stop responding to my moving the screen.



:voy: :jaff: :voy: :jaff:

Nov 1 2008, 4:46 pm Elvang Post #7



Just downloaded it and tested it to make sure it wasn't corrupt. Worked fine for me and someone in the channel I had test it... You were on Force 1, aka Pac-Man right? If so, did you see anything unusual happen? Such as an uncloaked air unit appearing and staying on screen, they are used in the mobile grid and should never be visible to the player.



None.

Nov 1 2008, 4:48 pm Symmetry Post #8

Dungeon Master

Nothing weird happened, it just stopped working.



:voy: :jaff: :voy: :jaff:

Nov 1 2008, 5:24 pm Elvang Post #9



Heres a version that spams movement debug info to the screen, you'll be able to see if its reading the movement. Can you tell me what it says last or screenshot it when it stops working?



None.

Nov 1 2008, 5:48 pm stickynote Post #10



From what I know, detecting screen position detects its exact coordinates, pixel by pixel. Are you detecting which direction the screen is moving or the screen position?



None.

Nov 1 2008, 5:55 pm Biophysicist Post #11



Maybe your EUDs are somehow spawning the minerals?

Anyway, you could just make the Probes carry power-ups, unless they need to be able to pick up other things, which you could emulate with triggers.



None.

Nov 1 2008, 5:57 pm Symmetry Post #12

Dungeon Master

I got stuck on NOT DOWN, and when I respawned they stopped working entirely.



:voy: :jaff: :voy: :jaff:

Nov 1 2008, 6:05 pm Elvang Post #13



stickynote

I found the exact coordinates for each location I used, then detected when the x was less or more for left and right, and if the y was less or more for up and down. Oddly enough some of the locations where the x should have been the same was off by 3 or 4 pixels.


Mafia.TassadarZeratul

As far as I know, EUD conditions can't affect the game in any way, or atleast that was blizzards intention when they patched EUDs.


Reindeer Breeder[MM]

NOT DOWN means the unit was attempting to walk down, but due to the terrain was unable to. In that situation the screen coordinates are being read, however the unit is being ordered to move on itself to prevent it from path finding around the terrain. When you say respawned do you mean after the first level is generated, or after a death/subsequent level/teleport?



None.

Nov 1 2008, 6:12 pm Symmetry Post #14

Dungeon Master

Quote from Elvang
stickynote

I found the exact coordinates for each location I used, then detected when the x was less or more for left and right, and if the y was less or more for up and down. Oddly enough some of the locations where the x should have been the same was off by 3 or 4 pixels.


Mafia.TassadarZeratul

As far as I know, EUD conditions can't affect the game in any way, or atleast that was blizzards intention when they patched EUDs.


Reindeer Breeder[MM]

NOT DOWN means the unit was attempting to walk down, but due to the terrain was unable to. In that situation the screen coordinates are being read, however the unit is being ordered to move on itself to prevent it from path finding around the terrain. When you say respawned do you mean after the first level is generated, or after a death/subsequent level/teleport?

After I die. When it gets stuck on NOT DOWN moving the screen around doesn't help at all. D:



:voy: :jaff: :voy: :jaff:

Nov 1 2008, 6:21 pm Elvang Post #15



I'll go through the death triggers and make sure there's nothing setting a switch somewhere. Is there a ghost in particular that continually causes the death?



I can't reproduce the problem on my computer, I did go through the triggers though, anything related to the switches regarding movement. The only thing I could think of was that Reset Movement wasn't firing, its supposed to clear all direction switches to prevent your ling from running all around the map without your consent. Tested with it disabled and enabled, couldn't reproduce. Killed myself on each ghost type, nothing happened though. Though I don't think you can run Starcraft at different resolutions, mainly because I haven't attempted to do so, are you running it at anything other than 640x480?

Just thought of something, going to test without xfire in-game running.


Ran Starcraft without xfire running, had no effect. Also pasted triggers into notepad and did a search for all locations related to the player's view to make sure they weren't being moved. Out of ideas for the moment, has anyone else had similar problems as Reindeer Breeder[MM]?

Post has been edited 2 time(s), last time on Nov 1 2008, 6:36 pm by Elvang.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: adelinedfischer, Moose