Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7765415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:09:41+00:00 2026-06-01T15:09:41+00:00

I’ve been gathering ideas for my personal project in CSS/JavaScript/XHTML. The idea is to

  • 0

I’ve been gathering ideas for my personal project in CSS/JavaScript/XHTML.
The idea is to replicate this:

Image

And so far I have this (I know it’s far away from what I need, but just playing around)

http://jsfiddle.net/dburelax/XY8CA/9/

I was wondering if http:// processingjs.org/exhibition/ is my best choice to get this done in javascript? Thanks

P.S: I have no idea how to make the character move within the tiles any suggestions are welcome 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:09:42+00:00Added an answer on June 1, 2026 at 3:09 pm

    I’d say light years away. But don’t take it as sarcasm; let me explain.

    What I see when I look at the gif is an engine that supports block “primitives”.

    Because, you see, every time he hovers a tile with the pointer it gets decorated with a white border.
    In your case, you just have two images:

    • A map background

    • A gif of sprites for the character (without his back or sideway, but let’s just forget that for now).

    With these two in order to achieve the block highlighting you should always calculate offset, and apply image filters on the background with the border decoration (and shadows and what not). Then, when moving outside the box remove decoration the last window.

    After that what do you do if you change box size? Recalibrate all offsets? What if you have boxes/bocks (I’ll call them interchangeably now) in mixed sizes?

    In game engines particularly you have primitives such as boxes, where you can detect collisions and either allow passage or not from the colliding box (a character is a box as well). Think how this would be practical if you for example had “fog of war” and allowed vision only in adjacent boxes.

    It’s not just about processing.js, which may or may not be helpful to you, but there are key bindings, character movement, character orientation to be thought about first.

    I don’t know about you, but I wouldn’t be able to encode all that information in Javascript objects and still have it performant. Not with current Javascript engines, at least.

    While your hobby project is a fun idea, there is much much more you have to learn first to be able to pull this off.

    In the case I have offended, take but this and all is mended — The Goblin

    If this is in the scope of learning programming, while having a project to keep you motivated; then go for it (use the path I’ve deemed hard), learn first how to move images on the HTML5 canvas and when having actual code problems come back.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.