creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
News Forum
old
Code Tags Are Here   
Rascii
Caves Dweller

Rascii
United States  
Administrator


 visit Rascii's website: Creatures Caves
  5/25/2008

We now have code tags so that you can easily, and more legibly, post lines of code for others to see. The code tags work on the main website, in the forums and even on My Caves. The format is simply [ code ] some text [ / code ], of course without the spaces. :)

Here's an example:

inst
new: simp 2 11 4645 "charles_cheese" 4 22 500
attr 195
bhvr 48
elas 10
accg 2
perm 100
seta va00 targ
enum 1 2 11
spas targ va00
doif ov00 = 0 and clac = 0
mesg writ targ 0
endi
next


They should be useful for when people need HTML, PHP or other web programming help, as well as for CAOS help and any other programming language. If you have any feedback post it here!


- Rascii
 
Squishy-Fudge

Squishy-Fudge



  5/25/2008

hmm....

CHEESE IS YUMMEH!


ahah, that kicks butt x3

 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  5/25/2008

Testing, testing, one, two, three...

Rascii wrote:
We now have code tags so that you can easily, and more legibly, post lines of code for others to see.



We now have code tags so that you can easily, and more legibly, post lines of code for others to see.


hmmm...


My TCR Norns
 
Laura
Tea Queen

Laura

Administrator


 visit Laura's website: CC Chat
  5/25/2008

Very nice.

:)

Don't forget to add it to the list of commands on the information pages.

 
Rascii
Caves Dweller

Rascii

Administrator


 visit Rascii's website: Creatures Caves
  5/26/2008

Thanks for the reminder. :) So far I only added it to the Commands pop-up.

- Rascii
 
Wup

Wup



  5/26/2008

=D

Very awesome.


ps. I haven't played Monster Raannnrrrnnchhdoggy
 
Jacob

Jacob



  5/27/2008



Code -------->
o <--- Me
\|/
/ \



...Damn, that didn't work.


Not really active around these parts anymore.
 
Rascii
Caves Dweller

Rascii

Administrator


 visit Rascii's website: Creatures Caves
  5/27/2008

Yeah, it gets ride of the spaces to prevent table stretching. :\ Sorry.

Several people have mentioned that the colors of the code blocks aren't different enough from the rest of the normal tables and text.

If I use a completely white background it looks awful, but I think a really dark background with white text might contrast too much.

Also, with the current set up it's not really possible for me to do different colors depending on which area of the site you're viewing, so the blocks have to look good in My Caves as well as the normal site/forums. Unless I just remove the code tags from that area.

What do you guys think?


- Rascii
 
biohaze

biohaze



  5/27/2008


Well what i can see (decent at html) is it would be fine to change the background of the quote on both my caves and forums

here we got Blue background

White Foreground (quote block)

my caves has an even lighter blue background so the current white probally anit the best for either of them


I would probally go with the Black foreground quotes with BOLD white text

What you think about that?

or just let the forums use quotes its self


Grow Shrooms
 
Laura
Tea Queen

Laura

Administrator


 visit Laura's website: CC Chat
  5/27/2008

So long as you can see the green code text clearly enough, that's all that matters? Probably just me, but I can't really see the problem...

Is it possible to make the blocks transparent?

 
Rascii
Caves Dweller

Rascii

Administrator


 visit Rascii's website: Creatures Caves
  5/27/2008

As in the same color as the table they're in or the same color as behind the table they're in? Both would be possible. I just figured it would be better to have some contrast for the code blocks, which would include changing the bg color. Usually after toying with stuff I find the perfect combination but not really in this case. :\

And currently the background color of the code blocks is the same on all areas of the site, biohaze.


- Rascii
 
Laura
Tea Queen

Laura

Administrator


 visit Laura's website: CC Chat
  5/27/2008

The same color as the light blue. Saying that, I still think nothing's wrong with how the code blocks are right now - you can still see the code clearly. :)
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki